Skippy VonDrake
2013-Jan-04 22:32 UTC
[Libguestfs] error make guestfs: relocation libfuse.a Bad value
Trying to setup guestfs on a coworkers system and am at a loss about this error and doing 'make' on version 1.20: /usr/bin/ld: /usr/lib/libfuse.a(fuse.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/lib/libfuse.a: could not read symbols: Bad value collect2: error: ld returned 1 exit status Installed fuse via: sudo apt-get install fuse sudo apt-get install libfuse-dev Tried this before configure: export CFLAGS="-fPIC" And ./configure --enable-shared With and without "--enable-shared". Never had this problem with my system... Any suggestions?
Richard W.M. Jones
2013-Jan-17 15:10 UTC
[Libguestfs] error make guestfs: relocation libfuse.a Bad value
On Fri, Jan 04, 2013 at 05:32:25PM -0500, Skippy VonDrake wrote:> Trying to setup guestfs on a coworkers system and am at a loss about > this error and doing 'make' on version 1.20: > > /usr/bin/ld: /usr/lib/libfuse.a(fuse.o): relocation R_X86_64_32 > against `.bss' can not be used when making a shared object; recompile > with -fPIC > /usr/lib/libfuse.a: could not read symbols: Bad value > collect2: error: ld returned 1 exit status > > Installed fuse via: > sudo apt-get install fuse > sudo apt-get install libfuse-dev > > Tried this before configure: > export CFLAGS="-fPIC" > > And > ./configure --enable-shared > > With and without "--enable-shared". > > Never had this problem with my system... > > Any suggestions?Did you manage to fix this? My first thought is this is because the shared library (ie. libfuse.so.NNN) is somehow not installed. I have no idea why that would be. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW