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"



Attachment: pgpc5ME1MEEmn.pgp
Description: PGP signature

-------------------------------------------------------------------------
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

Reply via email to