[libvirt] Linking fails on FreeBSD

Daniel Veillard veillard at redhat.com
Mon Jul 29 06:38:57 UTC 2013


On Mon, Jul 29, 2013 at 10:30:15AM +0400, Roman Bogorodskiy wrote:
> 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?

  using 1.1.1-rc1, rc2 or git ?

Daniel

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
veillard at redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list