Closed Bug 1720 Opened 26 years ago Closed 26 years ago

can't find symbol ldap_init

Categories

(Directory :: PerLDAP, defect, P1)

All
Solaris
defect

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: leif, Assigned: leif)

Details

On my Solaris 2.6 box with Perl 5.005_02 with libperl.so, when I run the test.pl script in the PerLDAP 1.0 distribution, I get the following message: al:/opt/home/builder/mozilla/directory/perldap[] perl test.pl 1..8 modinit - ok Enter LDAP Server: ldap.activerse.com Enter Search Filter (ex. uid=abc123): uid=77686f64703a2f Enter LDAP Search Base (ex. o=Org, c=US): o=Activerse ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/Mozilla/LDAP/API/API.so: symbol ldap_init: referenced symbol not found Killed 0.97u 0.24s 4:25.38 0.4% Any clues would be greatly appreciated. Regards, -------------------------------------------------------------- Mark Gaither Senior Technical Staff Activerse, Inc. markg@activerse.com whodp://staff.activerse.com/markg ------------------------------------------------------------- Get Ding!: http://www.activerse.com/
Status: NEW → ASSIGNED
m guessing, but I wonder if you possible compiled with one version of the SDK, and the runtime linker is linking in another version? Can you look at the output from "truss" above, and run "nm" on the libldapXXX.so it's linking in? I'd expect it to find something like: solaris # nm -p lib/libldapssl30.so | grep ldap_init 0000108648 T ldap_init
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Missing libldap and liblber libraries in the link, this is the same old Makefile.PL problem...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.