On Fri, 2013-02-08 at 05:00 +0000, Oner Olcerel wrote: > Hello, > > I am trying to compile Samba4 on RHEL 5.3 which didn't have Python on it. > I've downloaded Python-2.6.5.tar from > http://ftp.samba.org/pub/tridge/python/. I get the following error during the > compile : > .......................................... > ........................................... > [3285/3758] Compiling lib/krb5_wrap/enctype_convert.c > [3286/3758] Linking default/lib/util/libutil_setid.so > [3287/3758] Linking default/lib/talloc/libtalloc.so > [3288/3758] Linking default/lib/talloc/libpytalloc-util.so > /usr/bin/ld: /usr/local/lib/libpython2.6.a(cobject.o): relocation > R_X86_64_32S against `PyCObject_Type' can not be used when making a shared > object; recompile with -fPIC > /usr/local/lib/libpython2.6.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > Waf: Leaving directory `/install/samba-4.0.3/bin' > Build failed: -> task failed (err #1): > {task: cc_link pytalloc_util_5.o -> libpytalloc-util.so} > > I'll appreciate any suggestions. Thanks
You did not build python with --enable-shared Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba