relocation R_X86_64_32 against function can not be used when making a shared object; recompile with -fPIC
/usr/lib/libacl.a: could not read symbols: Bad value
I kept trying to figure out what was up with my Samba ./configure arguments. It took a while to realize the problem wasn't in my Samba methods - it was in the ACL compilation. When the Samba error in the make specified about recompiling with -fPIC, you need to recompile the library that it is trying to link. I had to recompile the libacl.so binary and fix it, and then Samba compiled fine.
Showing posts with label lfs. Show all posts
Showing posts with label lfs. Show all posts
Thursday, December 29, 2016
Recompile with -fPIC when compiling Samba with ACL
I ran into a problem trying to compile Samba under a Linux From Scratch (LFS) system :
Subscribe to:
Posts (Atom)

