[Samba] Samba 3.5.6, Solaris 10, pam_winbind.so will not link

Robert M. Martel - CSU r.martel at csuohio.edu
Wed Oct 27 07:50:44 MDT 2010


Greetings,

Still no progress trying to get Samba 3.5.6 built on Solaris 10, using 
gcc 3.4.6.

Maybe fresh eyes will see something?  Been having issues building samba 
since 3.4.9 (and anything greater than 3.2.15 on Solaris 9 where samba 
will build, but winbind will not work properly for user authentication.)

techops$ make
Using CFLAGS     = -I/opt/local/kerberos5/include -O -I. 
-I/usr/local/src/samba-3.5.6/source3 
-I/usr/local/src/samba-3.5.6/source3/iniparser/src -Iinclude -I./include 
  -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc 
-I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H 
-I/opt/local/kerberos5/include -I/opt/local/openldap/include 
-L/usr/local/lib -R /usr/local/lib -L/usr/sfw/lib -R /usr/sfw/lib 
-D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-DLDAP_DEPRECATED -DSUNOS5  -I/usr/local/src/samba-3.5.6/source3/lib 
-I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
       PICFLAG    = -fPIC
       LIBS       = -lsendfile -lresolv -lrt -lnsl -lsocket -liconv -lintl
       LDFLAGS    = -pie  -L/opt/local/kerberos5/lib 
-R/opt/local/kerberos5/lib -Wl,-z,ignore -L/opt/local/openldap/lib 
-L/usr/local/lib -R/usr/local/lib -R/opt/local/openldap/lib -lthread -L./bin
       DYNEXP     =
       LDSHFLAGS  = -fPIC -shared  -L/opt/local/kerberos5/lib 
-R/opt/local/kerberos5/lib -Wl,-z,ignore -L/opt/local/openldap/lib 
-L/usr/local/lib -R/usr/local/lib -R/opt/local/openldap/lib -lthread 
-L./bin -lc -Wl,-z,defs
       SHLIBEXT   = so
       SONAMEFLAG = -Wl,-h,
Linking shared library bin/pam_winbind.so
Undefined                       first referenced
  symbol                             in file
libintl_bindtextdomain              ../nsswitch/pam_winbind.o
libintl_dgettext                    ../nsswitch/pam_winbind.o
ld: fatal: Symbol referencing errors. No output written to 
bin/pam_winbind.so
collect2: ld returned 1 exit status
make: *** [bin/pam_winbind.so] Error 1

-- 
***********************************************************************
Robert M. Martel                    Pushing myself and this old machine
System Administrator                Burning fumes
Levin College of Urban Affairs      and what's left of my dreams
Cleveland State University
(216) 687-2214
r.martel at csuohio.edu
***********************************************************************


More information about the samba mailing list