When i try to emerge exim-4.24 i get this: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgds collect2: ld returned 1 exit status make[1]: *** [exim] Error 1 make[1]: Leaving directory `/var/tmp/portage/exim-4.24/work/exim-4.24/build-exim-gentoo' make: *** [go] Error 2 !!! ERROR: net-mail/exim-4.24 failed. !!! Function src_compile, Line 152, Exitcode 2 !!! make failed -lgds? Reproducible: Always Steps to Reproduce: 1. 2. 3.
I had to ebuild exim-4.24.ebuild unpack then remove -lgds from Local/Makefile under the work dir then ebuild exim-4.24.ebuild compile, install, qmerge It is mentioned as being used by postgresql but there is no trace of it on a machine with postgresql installed.
Quote from Local/Makefile: '-lgds is for Interbase.' Just wanted to state that out :) Emerge shows the same behaviour for me. MySQL installed, neither postgresql nor interbase installed.
exim-4.22/src/EDITME: # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq exim-4.24/src/EDITME: # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds exim now has a ' -lgds' on the end of the line for LOOKUP_LIBS the new ebuild does not handle this this line: sed -i "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq:LOOKUP_LIBS=$LOOKUP_LIBS:" \ should be changed to: sed -i "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds:LOOKUP_LIBS=$LOOKUP_LIBS:" \ (in /usr/portage/net-mail/exim/exim-4.24.ebuild)
fixed in cvs. please test to see if it works now.