I have gone back over the output of the configure command, and noticed the following lines:
checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking whether -lresolv is needed for res_query... yes checking for ber_scanf in -llber... yes checking for ldap_open in -lldap... no checking for ldap_search_st... no checking for ldap_start_tls_s... no checking for ldap_result2error... no checking for ldap_parse_result... no Could this be the cause of my problem with LDAP, and if so, any suggestions as to how to rectify it? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Varshavchik Sent: Wednesday, 13 August 2008 10:27 AM To: [email protected] Subject: Re: [courier-users] authdaemond problem with ldap Peter Oram writes: > Sorry, you misinterpreted my reply. > > The configure command I used was: > > ./configure LDFLAGS="-R /usr/local/lib" Try it without the space. Solaris's linker might be picky. If that doesn't work, try setting LD_LIBRARY_PATH in the environment, when starting authdaemond. LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH authdaemond start Finally, if all else fails, try a Solaris-specific mailing list or forum. This has something to do with Solaris's runtime loader. > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sam > Varshavchik > Sent: Tuesday, 12 August 2008 9:02 PM > To: [email protected] > Subject: Re: [courier-users] authdaemond problem with ldap > > Peter Oram writes: > >> OpenLDAP is installed in /usr/local, and after adding the -R option >> suggested, I still get the same result in my syslog file. > > The -R option should specify /usr/local/lib, where the actual library > presumably is, and not /usr/local. Additionally, try adding > /usr/local/lib to LD_LIBRARY_PATH before starting authdaemond. This is > not the preferred solution, but just a temporary confirmation as to what your problem is. > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Sam >> Varshavchik >> Sent: Monday, 11 August 2008 9:02 PM >> To: [email protected] >> Subject: Re: [courier-users] authdaemond problem with ldap >> >> Peter Oram writes: >> >>> authdaemond problem with ldap >>> >>> I have installed courier-authlib-0.61.0 onto my Solaris 10 server, >>> which is configured with OpenLDAP and Sun's Directory Server. >>> >>> Aug 11 15:24:30 hades authdaemond: [ID 702911 mail.info] ld.so.1: >>> authdaemond: fatal: relocation error: file >>> /usr/local/lib/courier-authlib/libauthldap.so: symbol ldap_initialize: >>> referenced symbol not found >>> >>> >>> Why? >> >> The module wasn't built properly. You probably have OpenLDAP >> installed in some non-standard directory that's not searched by >> default, by the runtime loader. >> >> Try putting a -R option into LDFLAGS, when running configure, >> ./configure [options] LDFLAGS="-R /directory/path/to/openldap/libraries" >> >> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
