[libvirt] Currently in freeze for 0.8.8, rc2 available
Zdenek Styblik
stybla at turnovfree.net
Mon Feb 14 17:07:59 UTC 2011
-----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'
make[3]: *** [libvirt_driver_nwfilter.la] Error 1
make[3]: Leaving directory `/tmp/libvirt-rc/libvirt-0.8.8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/libvirt-rc/libvirt-0.8.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libvirt-rc/libvirt-0.8.8'
make: *** [all] Error 2
~~~ SNIP ~~~
~~~ SNIP ~~~
root at slackrepo:/tmp/libvirt-rc/libvirt-0.8.8# grep -e '-L ' Makefile
LIBPCAP_LIBS = -L /usr/lib64 -lpcap
~~~ SNIP ~~~
However, ...
~~~ SNIP ~~~
./configure
sed -i -e "s#-L /usr/lib64#-L/usr/lib64#g" Makefile
sed -i -e "s#-L /usr/lib64#-L/usr/lib64#g" src/Makefile
make
...
~~~ SNIP ~~~
does the trick. It's somewhat "known" hack for x86_64 at Slackware (?)
and I even have it in SlackBuild which I haven't used for this test build.
With hack above, even % make check; passes at Slackware64-13.1
Regards,
Z.
- --
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: stybla at turnovfree.net
jabber: stybla at jabber.turnovfree.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1ZYW8ACgkQ8MreUbSH7ilhnACgpc7LhHNZT8YAtu/i3OS/jumr
FSsAmQHEU+o3TUaqEMMN6SeDvL1yJSuT
=g8FE
-----END PGP SIGNATURE-----
More information about the libvir-list
mailing list