[Samba] Fwd: Sol9 make failure of samba 3.2.2 with gcc 3.4.6 -- libtalloc.so.1

Dave S dave.my.mind.is.going at gmail.com
Thu Sep 18 17:25:16 GMT 2008

I'm on Solaris 9 sparc.  Current versions are:
gcc 3.4.6 (sunfreeware pkg)
MIT krb5-1.6.3 (source)
openldap-2.4.11 (compiled with --with-tls and --enable-crypto)
db-4.2.52.NC (sunfreeware pkg)

No compiler env vars set, except CC is set to

I'm invoking configure as follows:
./configure --with-ads --with-windbind --with-krb5=/usr/local --with-ldap

'make' fails with the following output:
Linking non-shared library bin/libtalloc.a
Compiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Compiling lib/replace/getpass.c
Compiling lib/replace/strptime.c
Compiling lib/replace/timegm.c
Compiling lib/replace/inet_aton.c
Compiling lib/replace/getifaddrs.c
creating /root/samba-3.2.2/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so.1
cannot open linker script file
/root/samba-3.2.2/source/exports/libtalloc.so.1: No such file or
collect2: ld returned 1 exit status
make: *** [bin/libtalloc.so.1] Error 1

make -n shows the following line prior to the failure:
/usr/local/bin/gcc -I/usr/local/include -O -D_SAMBA_BUILD_=3 -G
-Wl,-z,relro -L/usr/local/lib -R/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -lthread -L./bin
bin/libtalloc.so.1 | sed 's/so\(.[0-9]\{1,\}\)\{0,1\}$/syms/'` -o
bin/libtalloc.so.1 lib/talloc/talloc.o lib/replace/replace.o
lib/replace/snprintf.o lib/replace/getpass.o lib/replace/strptime.o
lib/replace/timegm.o lib/replace/inet_aton.o lib/replace/getifaddrs.o
-Wl,-soname=`basename bin/libtalloc.so.1`

source/bin contains only libtalloc.a at the fail point.
Any ideas?  I'm not experienced at doing builds on Solaris.


Dave S.

More information about the samba mailing list