Samba4 build on Nexenta fails on linking

Torok Peter sambalist at progterv.info
Mon Mar 14 13:23:09 MDT 2011


Dear All,

I tried to build Samba4 from git (2011.03.14) but I got linking error:

[2256/2404] Linking default/source4/dsdb/samdb/ldb_modules/libldb-anr.so
[2258/2404] Linking default/source4/kdc/libdb-glue.so
/usr/bin/ld: default/source4/kdc/libkdc-policy.so: _etext: invalid version
31570 (max 2)
default/source4/kdc/libkdc-policy.so: could not read symbols: Bad value
collect2: ld returned 1 exit status
Waf: Leaving directory `/root/samba/samba-master/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link db-glue_9.o -> libdb-glue.so}
make: *** [all] Error 1

My system is a nexenta zone:
uname -a
SunOS sambaserver 5.11 NexentaOS_134f i86pc i386 i86pc Solaris

gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2nexenta7)

ld --version
GNU ld (GNU Binutils) 2.21.51.20110314
/binutils is from http://ftp.gnu.org/gnu/binutils, I tried with from
package, same error/

Best Regards,
Peter Torok


More information about the samba-technical mailing list