Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7878 - exim 4.05 - /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpg
Summary: exim 4.05 - /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../../i686-pc-linu...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
Depends on:
Reported: 2002-09-13 10:29 UTC by Mike Williams
Modified: 2002-09-17 18:04 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Mike Williams 2002-09-13 10:29:26 UTC
[ebuild    U ] net-mail/exim-4.05 to / 
cc -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   
-I/usr/lib/perl5/5.6.1/i686-linux/CORE   -c perl.c  
awk '{ print ($1+1) }' cnumber.h > cnumber.temp  
rm -f cnumber.h; mv cnumber.temp cnumber.h  
gcc -c -march=i686 -O3 -pipe    version.c  
rm -f exim  
gcc -o exim  acl.o child.o daemon.o dbfn.o debug.o deliver.o directory.o dns.o   
drtables.o enq.o exim.o expand.o filter.o globals.o header.o host.o ip.o log.o   
match.o moan.o os.o parse.o queue.o rda.o readconf.o receive.o retry.o   
rewrite.o route.o search.o smtp_in.o smtp_out.o spool_in.o spool_out.o store.o   
string.o tls.o tod.o transport.o tree.o verify.o local_scan.o perl.o version.o   
  pcre/libpcre.a \   
  routers/routers.a transports/transports.a lookups/lookups.a \   
  auths/auths.a \   
  -lresolv -lnsl -lcrypt   -lpam -lwrap \   
   -ldb -L/usr/lib -lmysqlclient -lpg -rdynamic  -L/usr/local/lib   
-L/usr/lib/perl5/5.6.1/i686-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt   
-lutil -lssl -lcrypto   
cannot find -lpg   
collect2: ld returned 1 exit status   
make[1]: *** [exim] Error 1   
make[1]: Leaving directory   
make: *** [go] Error 2   
!!! ERROR: The ebuild did not complete successfully.   
!!! Function src_compile, Line 2, Exitcode 2   
!!! (no error message)   
USE="dvd oggvorbis encode sdl quicktime ssl mozilla imap mysql opengl -gnome   
        postgres firebird pdflib odbc" 
anaws108 root # emerge -s postgresql   
[ Results for search key : postgresql ]   
[ Applications found : 1 ]   
*  dev-db/postgresql   
      Latest version available: 7.2.2   
      Latest version installed: 7.2.2   
      Description: PostgreSQL is a sophisticated Object-Relational DBMS   
anaws108 root # emerge --version 
Portage 2.0.36
Comment 1 Christian Loitsch 2002-09-15 09:41:18 UTC
this is just a typo.
in the ebuild replace "-lpg" by "-lpq" and everything works (at least it did on
my machine)
Comment 2 Nick Hadaway 2002-09-17 18:04:21 UTC
The ebuild has been updated and is available in portage.  Thanks for the fix!