Samba4 build on Nexenta fails on linking

Torok Peter sambalist at progterv.info
Wed Mar 16 13:04:44 MDT 2011


Dear All,

I managed to build with gcc 4.5.2 (I built gcc and binutils from source)

Now I have another error when I run

./source4/setup/provision --realm=dom.local --domain=DOM
--adminpass=password--server-role='domain controller'

I got:

ldb: unable to dlopen /usr/local/samba/modules//service/dcerpc.so : ld.so.1:
python2.5: fatal: relocation error: file
/usr/local/samba/lib/libdcerpc-server.so.0: symbol hx509_request_free:
referenced symbol not found

Best regards,
  Peter Torok

On Mon, Mar 14, 2011 at 8:23 PM, Torok Peter <sambalist at progterv.info>wrote:

> 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