This is a discussion on Re: [courier-users] courier-imap v4.02 build problem (libgdbm.so.3 within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages. --=_mimegpg-commodore.email-scan.com-9846-1114968422-0003 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Joe writes: > The following error occurs building courier-imap 4.02 > ================================================== ======== > gmake[1]: Entering directory `/usr/home/joe/courier-imap-4.0.2/gdbmobj' > ./testsuite | cmp -s - ./testsuite.txt > /usr/libexec/ld-elf.so.1: Shared object "libgdbm.so.3" not found, > required by "lt-testgdbm" > <snip, previous error repeted severl times> > gmake[1]: *** [check-am] Error 1 > gmake[1]: Leaving directory `/usr/home/joe/courier-imap-4.0.2/gdbmobj' > gmake: *** [check-recursive] Error 1 > ================================================== ========= > > I've been meditating on the FAQ paragraph which talks specifically about > this problem (http://www.inter7.com/courierimap/FAQ.html#libs). I seem to > have double-checked the issues raised in the faq. I am at a loss as to > how to proceed. > > The files exist: > root wheel 12 May 1 08:18 /usr/local/lib/libgdbm.so -> libgdbm.so.3 > root wheel 27 Oct 24 2003 /usr/local/lib/libgdbm.so.2 -> > /usr/local/lib/libgdbm.so.3 > root wheel 23677 May 1 08:18 /usr/local/lib/libgdbm.so.3 Your runtime loader does not search /usr/local/lib by default. As the error message tells you: your runtime loader, /usr/libexec/ld-elf.so.1, cannot find the library libgdbm.so.3 because it is installed in /usr/local/lib, but the runtime loader is probably configured to search only the /lib and /usr/lib directories. ld-elf.so's man page probably tells you what needs to be done to add /usr/local/lib to ld-elf's search path. > user environment variables are set (from printenv): > LDFLAGS=-L/usr/local/lib > CPPFLAGS=-I/usr/local/include > > and specified in the config > > ./configure\ > LDFLAGS=/usr/local/lib \ > CPPFLAGS=/usr/local/include Furthermore, this is also wrong. If you run the C compiler and pass an option called, verbatim, "/usr/local/lib", the C compiler, of course does not know that it needs to automatically prepend "-I" and process this option accordingly. Ditto for the linker. --=_mimegpg-commodore.email-scan.com-9846-1114968422-0003 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBCdRFmx9p3GYHlUOIRAuuOAJoCaBnSRxDbxnwGhZns83 9PRqAGdgCfQVsb kScIGraG/8dT4QjP+ImGdlI= =MxfX -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-9846-1114968422-0003-- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |