[Libguestfs] error make guestfs: relocation libfuse.a Bad value

Richard W.M. Jones rjones at redhat.com
Thu Jan 17 15:10:37 UTC 2013


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




More information about the Libguestfs mailing list