Re: [libvirt] [PATCH] build: fix typos in configure-set makefile variable names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 24, 2010 at 03:05:01PM +0100, Jim Meyering wrote:
> Richard W.M. Jones wrote:
> > /usr/bin/ld: ../src/.libs/libvirt_test.a(libvirt_driver_vbox_la-vbox_XPCOMCGlue.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
> > /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
> > /lib64/libdl.so.2: could not read symbols: Invalid operation
> > collect2: ld returned 1 exit status
> >
> > Just adding -ldl to the end of LDADDS in tests/Makefile.am fixes this
> > problem for me, but I'm not sure if that is the correct way to fix it.
> 
> That sounds reasonable, if we're guaranteed always to have a libdl.
> However, the fact that it's not needed on F12 suggests that we should
> be adding it only when necessary (hence a configure-time test).
> 
> I hit that same problem a few hours ago, but haven't yet gotten to it.

I'm assuming that the problem is related to:

http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking

The virtualbox driver seems like it needs -ldl, but this was only
being provided implicitly before, but now needs to be given
explicitly.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]