It appears that libber50.a is not linked into the shared object libraries in the v5.0 SDK for Linux. Trying to bulid the included examples gives these errors: gcc -g -I../include -I../include -c search.c -o search.o gcc -o search search.o -L../lib -lldap50 -lpthread search.o: In function `main': /home/bnelson/ldapsdk/examples/search.c:80: undefined reference to `ber_free' ../lib/libldap50.so: undefined reference to `ber_dup' ../lib/libldap50.so: undefined reference to `ber_alloc_t' *snip* if a -llber50 is added to the linking command, the programs will build fine. I noticed that the libs in the 5.0 SDK are different that the 4.14 SDK. the 4.x were all dynamiclly linked, and the 5.0 are statically linked. So I assume that liblber50.a needs to be included in the rest of the .so files where applicable. SDK 4.14 on Linux does not exibit this problem. SDK 5.0 on Solaris does not exibit this problem. -Brian
Reassigned to Michael.
Assignee: mcs → mhein
QA Contact: __UNKNOWN__
I have changed the way the libldap library is built. It should now be including the symbols correctly. The tree has been tagged with cvs tag ldapcsdk_branch_50020010717-RtmAll Michael
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.