[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: tcl link with 2.0.11



I had to build my tcl-LDAP using the Netscape SDK. I used

-lldap -lldapssl30 -llber -lpthread

on Redhat 6.2 i386.

It works fine against OpenLDAP.

Kevin

-----Original Message-----
From: Steve Szabo [mailto:steves@fundserv.com]
Sent: Friday, September 14, 2001 1:16 PM
To: openldap-software@OpenLDAP.org
Subject: tcl link with 2.0.11



greetings - has anyone been able to link the tcl
package that is included with openldap 2.0.11?



aragorn [/usr/local/src/ldap/openldap-2.0.11/contrib/ldaptcl] # make
gcc -pipe  tclAppInit.o
-L/usr/local/src/ldap/openldap-2.0.11/contrib/ldaptcl -lldaptcl1.2 -L
-ltclx8.3 -L/usr/local/lib -ltcl8.3 -ldl  -lsocket -lnsl -lm
-L/usr/local/lib -lldap -llber -lc \
-Wl,-R,/usr/local/lib -o ldaptclsh
Undefined                       first referenced
 symbol                             in file
dn_expand                           /usr/local/lib/libldap.so
TclX_WrongArgs
/usr/local/src/ldap/openldap-2.0.11/contrib/ldaptcl/libldaptcl1.2.so
res_query                           /usr/local/lib/libldap.so
ld: fatal: Symbol referencing errors. No output written to ldaptclsh
make: *** [ldaptclsh] Error 1

cu
---------------------------------------------------
---------------------------------------------------