Hi,
 I knew I would run into this problem sooner or later. I have just
upgraded my test server to Mandrake 8.0 and guess what? It has
pre-installed shared ldap libs. I really don't want to mess with them if
I don't have to because it might break alot of other things like
pam-ldap, nss-ldap, auth-ldap, etc... All other things I use for
testing. So how do I write this line in the Makefile to make it compile
against these shared ldap libs?

LDAPLIBS=-L/usr/lib -lldap -llber

This is the output from my system:

[root@herkkusieni lib]# ldd libldap.so.1
        libc.so.6 => /lib/libc.so.6 (0x4002a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

[root@herkkusieni lib]# ldd liblber.so.1
        libc.so.6 => /lib/libc.so.6 (0x4001b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

 Are shared libs considered a bad thing or what? Is there a way to make
this work without ripping the system to pieces?

Mike

Reply via email to