Thierry CHARLES
2014-Feb-10 17:22 UTC
[Samba] building 4.1.4 on AIX 5.2 : fails on libtalloc.so linking
Hi, I'm trying to build samba 4.1.4 on an AIX 5.2.0.0. I'm using GCC v3.3.2 and python 2.7.6 I've configured the build with this command (disabling ACL because of missing headers on my system concerning nfs4 acl): $) LDFLAGS=-lpthread ./configure -C --prefix=/i/infext/samba-4.1.4 --without-acl-support And then I have run the build procedure but it fails on linking libtalloc.so $) make WAF_MAKE=1 python ./buildtools/bin/waf build Waf: Entering directory `/i/infext/samba-4.1.4-src/bin' Selected embedded Heimdal build [ 44/3689] Generating smbd/build_options.c [3209/3689] Linking default/lib/talloc/libtalloc.so ld : 0706-012 -h n'est pas une option reconnue. ld : 0706-005 Fichier libtalloc.so.2 introuvable ou impossible ? ouvrir. ld:open(): Un fichier ou un r?pertoire du chemin d'acc?s n'existe pas. collect2: ld returned 255 exit status Waf: Leaving directory `/i/infext/samba-4.1.4-src/bin' Build failed: -> task failed (err #1): {task: cc_link talloc_1.o -> libtalloc.so} make: *** [all] Error 1 First, the build procedure is assuming that ld understands the '-h' option ... it's not the case but ld ignores this parameter Ld seems to hang on the libtalloc.so.2 which is a samba file (./bin/shared/private/libtalloc.so.2) Could someone help me getting out of this dead end ? Thanks !