On Mon, Feb 14, 2011 at 06:07:59PM +0100, Zdenek Styblik wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/14/11 17:35, Matthias Bolte wrote:
[...]
>
> Could you run make V=1 to get the full command line that produces this error?
>
> Either libvirt itself or some other library (via pkg-config) injects a
> '-L /usr/lib64' (instead of '-L/usr/lib64') into the LDFLAGS and
> libtool doesn't like it.
>
> Matthias
~~~ SNIP ~~~
make[3]: Entering directory `/tmp/libvirt-rc/libvirt-0.8.8/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -I /usr/include
- -I../src/conf -O2 -fPIC -L/usr/lib64 -o libvirt_driver_nwfilter.la
libvirt_driver_nwfilter_la-nwfilter_driver.lo
libvirt_driver_nwfilter_la-nwfilter_gentech_driver.lo
libvirt_driver_nwfilter_la-nwfilter_ebiptables_driver.lo
libvirt_driver_nwfilter_la-nwfilter_learnipaddr.lo -L /usr/lib64 -lpcap
-ldl
libtool: link: require no space between `-L' and `/usr/lib64'
What does the following print
# pcap-config --cflags --libs
If it includes a space, then pcap-config needs to be fixed
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|