[Samba] Problem when compiling samba 3.3.4

Stéphane PURNELLE stephane.purnelle at corman.be
Fri May 22 11:32:15 GMT 2009


Hi,

When I compile samba 3.3.4, I have this error : 

Using FLAGS      =  -O -O -D_SAMBA_BUILD_=3 -I/usr/local/include 
-I/root/samba-3.3.4/source/iniparser/src -Iinclude -I./include  -I. -I. 
-I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc 
-DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -I/usr/local/include -Iinclude -I./include -I. -I. 
-I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc 
-I./popt -DLDAP_DEPRECATED   -I/include -I/root/samba-3.3.4/source/lib 
-D_SAMBA_BUILD_=3
      PICFLAG    = -fPIC
      LIBS       = -lcrypt -lcap -lresolv -lnsl -ldl
      LDFLAGS    = -pie -Wl,-z,relro -L/usr/local/lib 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -L./bin
      DYNEXP     = -Wl,--export-dynamic
      LDSHFLAGS  = -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/local/lib 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -L./bin
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname=
Compiling dynconfig.c
Compiling lib/iconv.c
Compiling passdb/pdb_interface.c
Linking shared library bin/libnetapi.so.0
Linking non-shared library bin/libsmbclient.a
Linking shared library bin/libsmbclient.so.0
Compiling smbd/vfs.c
Compiling auth/auth.c
Compiling smbd/build_options.c
Compiling smbd/server.c
Linking bin/smbd
/usr/bin/ld: warning: libssl.so.6, needed by /usr/local/lib/libcups.so, 
may conflict with libssl.so.0.9.8
/usr/bin/ld: warning: libcrypto.so.6, needed by /usr/local/lib/libcups.so, 
may conflict with libcrypto.so.0.9.8
Linking bin/nmbd
Linking bin/swat
/usr/bin/ld: warning: libssl.so.6, needed by /usr/local/lib/libcups.so, 
may conflict with libssl.so.0.9.8
/usr/bin/ld: warning: libcrypto.so.6, needed by /usr/local/lib/libcups.so, 
may conflict with libcrypto.so.0.9.8
Compiling winbindd/idmap.c
Compiling winbindd/nss_info.c
Linking bin/winbindd
Linking bin/wbinfo
nsswitch/wbinfo.o: In function `wbinfo_change_user_password':
wbinfo.c:(.text+0x145d): undefined reference to `wbcChangeUserPassword'
nsswitch/wbinfo.o: In function `main':
wbinfo.c:(.text+0x2663): undefined reference to `wbcGetDisplayName'
wbinfo.c:(.text+0x2f26): undefined reference to `wbcRemoveUidMapping'
wbinfo.c:(.text+0x2fb1): undefined reference to `wbcRemoveGidMapping'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [bin/wbinfo] Erreur 1


Distribution : Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Architecture : Linux  2.6.18-128.el5.xfs #1 SMP Fri Apr 3 16:01:45 CEST 
2009 x86_64 x86_64 x86_64 GNU/Linux

Anyone can help me ?

Thanks

        Stéphane Purnelle

-----------------------------------
Stéphane PURNELLE                                   System & Network 
Admin.
Service Informatique       Corman S.A.           Tel : 00 32 (0)87/342467


More information about the samba mailing list