Samba4 build on Nexenta fails on linking

Jelmer Vernooij jelmer at samba.org
Thu Mar 17 07:45:22 MDT 2011


On Wed, 2011-03-16 at 20:04 +0100, Torok Peter wrote:
> 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
This symbol was recently renamed. 

Do you have a system copy of heimdal installed? What arguments did you
run configure with ? Have you tried removing /usr/local/samba before
reinstalling?

Cheers,

Jelmer

> 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
> >
> >

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110317/0d0542a1/attachment.pgp>


More information about the samba-technical mailing list