David writes:

Hello,

 

I am trying to install courier-imap on Solaris 9. I managed to run ./configure ok after setting LDFLAGS and CPPFLAGS to point to libs. When I run make check I am getting

 

 ld.so.1: ./testgdbm: fatal: libstdc++.so.6: open failed: No such file or directory

 

If I do make install it completes with no errors but when I try to start it I’m getting the below error in syslog.

 

imapd: [ID 702911 mail.info] ld.so.1: /usr/lib/courier-imap/libexec/couriertcpd: fatal: libgdbm.so.3: open failed: No such file or directory

 

Any help appreciated.

Your Solaris box is misconfigured. You have many libraries, such as the C++ library, and GDBM, installed in some location -- probably /usr/local/lib -- which is search by your C compiler, but is not searched by your loader at run time.

As such, you can succesfully link against these libraries, but cannot run the resulting executables because your system does not search this directory at runtime for the required shared libraries.


Attachment: pgpOhX8j0dohC.pgp
Description: PGP signature

Reply via email to