Compiling Problem Samba with ADS Support

stephan.theiler at css.ch stephan.theiler at css.ch
Fri Jul 11 14:47:15 GMT 2003


 Hy together

I have a Problem with compiling Samba 3.0Beta2  with ADS Support on Solaris
9 with gcc version 2.95.3
I have the  openldap-2.1.22 installed.

I get the following Error in the make Section

Linking bin/smbd
Undefined                       first referenced
 symbol                             in file
ber_printf                          passdb/pdb_ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_init                            libads/ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_flatten                         passdb/pdb_ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_scanf                           libads/ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_memfree                         passdb/pdb_ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_bvdup                           libads/ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_bvfree                          passdb/pdb_ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_free                            passdb/pdb_ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ber_alloc_t                         passdb/pdb_ldap.o  (symbol belongs to
implicit dependency /usr/local/lib/liblber.so.2)
ld: fatal: Symbol referencing errors. No output written to bin/smbd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `bin/smbd'

Configure Option's

env CPPFLAGS="-I/usr/local/include -I/usr/local/include" LDFLAGS="
-L/usr/local/lib" \
./configure     --prefix=/tools/samba/samba-3_beta_2 \
                --with-krb5=/usr/local \
                --with-ads=yes \
                --with-codepagedir=/tools/samba/samba-2.2.8a/lib/codepages
\
                --localstatedir=/var/log/css/samba
~

Can anyone help me

Regards

Stephan
___________________________________________________________________

CSS Versicherung
Stephan Theiler ITCE
Systemtechnik Client/Server
Rösslimattstrasse 40
CH-6002 Luzern
Telefon  ++41 (0)41 369 1470
Telefax  ++41 (0)41 369 1266
stephan.theiler at css.ch
www.css.ch





More information about the samba-technical mailing list