[libvirt] Linking fails on FreeBSD

Roman Bogorodskiy bogorodskiy at gmail.com
Mon Jul 29 06:30:15 UTC 2013


Hi,

Linking fails on FreeBSD:

  CCLD     libvirt.la
  /usr/bin/ld: ./.libs/libvirt_util.a(libvirt_util_la-vircgroup.o):
  relocation R_X86_64_PC32 against `virCgroupPartitionEscape' can not be
  used when making a shared object; recompile with -fPIC
  /usr/bin/ld: final link failed: Bad value

Following the suggestion and re-compiling with -fPIC doesn't help.
Anybody has an idea how to fix that?

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130729/124f23d7/attachment-0001.sig>


More information about the libvir-list mailing list