SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all, I am in trouble compiling libvirt (latest version 0.8.3) to use with KVM in Slackware64-13.1.
Here's the output of make:
Code:
# make
make all-recursive
make[1]: Entering directory `/tmp/SBo/libvirt-0.8.3'
Making all in gnulib/lib
make[2]: Entering directory `/tmp/SBo/libvirt-0.8.3/gnulib/lib'
make all-recursive
make[3]: Entering directory `/tmp/SBo/libvirt-0.8.3/gnulib/lib'
make[4]: Entering directory `/tmp/SBo/libvirt-0.8.3/gnulib/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/SBo/libvirt-0.8.3/gnulib/lib'
make[3]: Leaving directory `/tmp/SBo/libvirt-0.8.3/gnulib/lib'
make[2]: Leaving directory `/tmp/SBo/libvirt-0.8.3/gnulib/lib'
Making all in include
make[2]: Entering directory `/tmp/SBo/libvirt-0.8.3/include'
Making all in libvirt
make[3]: Entering directory `/tmp/SBo/libvirt-0.8.3/include/libvirt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SBo/libvirt-0.8.3/include/libvirt'
make[3]: Entering directory `/tmp/SBo/libvirt-0.8.3/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/SBo/libvirt-0.8.3/include'
make[2]: Leaving directory `/tmp/SBo/libvirt-0.8.3/include'
Making all in src
make[2]: Entering directory `/tmp/SBo/libvirt-0.8.3/src'
make all-am
make[3]: Entering directory `/tmp/SBo/libvirt-0.8.3/src'
CC libvirt_util_la-authhelper.lo
CC libvirt_util_la-bitmap.lo
CC libvirt_util_la-bridge.lo
CC libvirt_util_la-buf.lo
CC libvirt_util_la-conf.lo
CC libvirt_util_la-cgroup.lo
CC libvirt_util_la-event.lo
CC libvirt_util_la-hash.lo
CC libvirt_util_la-hooks.lo
CC libvirt_util_la-iptables.lo
CC libvirt_util_la-ebtables.lo
CC libvirt_util_la-dnsmasq.lo
CC libvirt_util_la-json.lo
CC libvirt_util_la-logging.lo
CC libvirt_util_la-macvtap.lo
CC libvirt_util_la-memory.lo
CC libvirt_util_la-pci.lo
CC libvirt_util_la-processinfo.lo
CC libvirt_util_la-hostusb.lo
CC libvirt_util_la-network.lo
CC libvirt_util_la-interface.lo
CC libvirt_util_la-qparams.lo
CC libvirt_util_la-stats_linux.lo
CC libvirt_util_la-storage_file.lo
CC libvirt_util_la-threads.lo
CC libvirt_util_la-uuid.lo
CC libvirt_util_la-util.lo
CC libvirt_util_la-xml.lo
CC libvirt_util_la-virterror.lo
CCLD libvirt_util.la
CC libvirt_conf_la-capabilities.lo
CC libvirt_conf_la-domain_conf.lo
CC libvirt_conf_la-domain_nwfilter.lo
CC libvirt_conf_la-domain_event.lo
CC libvirt_conf_la-network_conf.lo
CC libvirt_conf_la-nwfilter_params.lo
CC libvirt_conf_la-nwfilter_conf.lo
CC libvirt_conf_la-node_device_conf.lo
CC libvirt_conf_la-storage_conf.lo
CC libvirt_conf_la-storage_encryption_conf.lo
CC libvirt_conf_la-interface_conf.lo
CC libvirt_conf_la-secret_conf.lo
CC libvirt_conf_la-cpu_conf.lo
CCLD libvirt_conf.la
CC libvirt_cpu_la-cpu.lo
CC libvirt_cpu_la-cpu_generic.lo
CC libvirt_cpu_la-cpu_x86.lo
CC libvirt_cpu_la-cpu_map.lo
CCLD libvirt_cpu.la
CC libvirt_driver_la-driver.lo
CC libvirt_driver_la-datatypes.lo
CC libvirt_driver_la-nodeinfo.lo
CC libvirt_driver_la-libvirt.lo
CCLD libvirt_driver.la
CC libvirt_driver_test_la-test_driver.lo
CCLD libvirt_driver_test.la
CC libvirt_driver_remote_la-remote_driver.lo
CC libvirt_driver_remote_la-remote_protocol.lo
CC libvirt_driver_remote_la-qemu_protocol.lo
CCLD libvirt_driver_remote.la
CC libvirt_driver_openvz_la-openvz_conf.lo
CC libvirt_driver_openvz_la-openvz_driver.lo
CCLD libvirt_driver_openvz.la
CC libvirt_driver_esx_la-esx_driver.lo
CC libvirt_driver_esx_la-esx_interface_driver.lo
CC libvirt_driver_esx_la-esx_network_driver.lo
CC libvirt_driver_esx_la-esx_storage_driver.lo
CC libvirt_driver_esx_la-esx_device_monitor.lo
CC libvirt_driver_esx_la-esx_secret_driver.lo
CC libvirt_driver_esx_la-esx_nwfilter_driver.lo
CC libvirt_driver_esx_la-esx_util.lo
CC libvirt_driver_esx_la-esx_vi.lo
CC libvirt_driver_esx_la-esx_vi_methods.lo
CC libvirt_driver_esx_la-esx_vi_types.lo
CC libvirt_driver_esx_la-esx_vmx.lo
CCLD libvirt_driver_esx.la
CC libvirt_driver_nwfilter_la-nwfilter_driver.lo
CC libvirt_driver_nwfilter_la-nwfilter_gentech_driver.lo
CC libvirt_driver_nwfilter_la-nwfilter_ebiptables_driver.lo
CC libvirt_driver_nwfilter_la-nwfilter_learnipaddr.lo
CCLD libvirt_driver_nwfilter.la
libtool: link: require no space between `-L' and `/usr/lib64'
make[3]: *** [libvirt_driver_nwfilter.la] Error 1
make[3]: Leaving directory `/tmp/SBo/libvirt-0.8.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/libvirt-0.8.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/libvirt-0.8.3'
make: *** [all] Error 2
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
Rep:
' libvirt-0.8.3 '
Quote:
link: require no space between `-L' and `/usr/lib64
cd libvirt-0.8.3/src/
grep -n "L /usr" Makefile
... The reply is : 1451:LIBPCAP_LIBS = -L /usr/lib64 -lpcap
Please edit line 1451 to : LIBPCAP_LIBS = -L/usr/lib64 -lpcap
... And make will run with no errors.
(There is the same text in the top directory Makefile line 708,
but it does not seem to disturb anything.)
The correct way with the issue would of course be to trace the bug
in Makefile.in etc., but not that easy when the files that create
the Makefile have "a thousand" upper case L.
...
I've tested with 13.37 on both 32-bit and 64-bit versions. The 64-bit version correctly returns "-L/usr/lib64" but the 32-bit version has the extra, troublesome space.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.