[Slackbuilds-users] Libvirt no building
Luveh Keraph
1.41421 at gmail.com
Fri Mar 27 13:41:02 UTC 2020
Removing both the already-installed versions of libvirt and wireshark did
the trick. Thanks.
On Fri, Mar 27, 2020 at 1:16 AM Matteo Bernardini <
matteo.bernardini at gmail.com> wrote:
> Il giorno ven 27 mar 2020 alle ore 03:06 Luveh Keraph
> <1.41421 at gmail.com> ha scritto:
> >
> > That results in a different error:
> >
> > emu_driver.c:(.text+0x2d1ba): undefined reference to
> `virStorageFileDeinit'
> > qemu_driver.c:(.text+0x2d219): undefined reference to
> `virGetLastErrorCode'
> > qemu_driver.c:(.text+0x2d5a5): undefined reference to
> `virStorageFileCreate'
> > qemu_driver.c:(.text+0x2d8dc): undefined reference to
> `virGetLastErrorCode'
> > qemu_driver.c:(.text+0x2ddf1): undefined reference to
> `virStorageFileUnlink'
> > qemu_driver.c:(.text+0x2df09): undefined reference to
> `virGetLastErrorCode'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
> In function `qemuDomainManagedSave':
> > qemu_driver.c:(.text+0x2e4ba): undefined reference to
> `virDomainObjCheckActive'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
> In function `qemuDomainSaveFlags':
> > qemu_driver.c:(.text+0x2e77c): undefined reference to
> `virDomainObjCheckActive'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
> In function `qemuDomainCoreDumpWithFormat':
> > qemu_driver.c:(.text+0x2ef81): undefined reference to
> `virDomainObjCheckActive'
> > qemu_driver.c:(.text+0x2f1a7): undefined reference to
> `virGetLastErrorCode'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
> In function `qemuProcessEventHandler':
> > qemu_driver.c:(.text+0x2ff07): undefined reference to
> `virDomainObjCheckActive'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
> In function `qemuDomainStorageCloseStat':
> > qemu_driver.c:(.text+0x27cf): undefined reference to
> `virStorageFileDeinit'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_security.o):
> In function `qemuSecurityStartTPMEmulator':
> > qemu_security.c:(.text+0x808): undefined reference to
> `virSecurityManagerSetTPMLabels'
> > qemu_security.c:(.text+0x890): undefined reference to
> `virSecurityManagerRestoreTPMLabels'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_security.o):
> In function `qemuSecurityCleanupTPMEmulator':
> > qemu_security.c:(.text+0x8b8): undefined reference to
> `virSecurityManagerRestoreTPMLabels'
> >
> ./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_tpm.o):
> In function `qemuExtTPMStart':
> > qemu_tpm.c:(.text+0xac6): undefined reference to `virFileChownFiles'
> > collect2: error: ld returned 1 exit status
> > libtool: error: error: relink 'libvirt_driver_qemu.la' with the above
> command before installing it
> > Makefile:6541: recipe for target 'install-modLTLIBRARIES' failed
> > make[4]: *** [install-modLTLIBRARIES] Error 1
> > make[4]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
> > Makefile:12432: recipe for target 'install-am' failed
> > make[3]: *** [install-am] Error 2
> > make[3]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
> > Makefile:12426: recipe for target 'install' failed
> > make[2]: *** [install] Error 2
> > make[2]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
> > Makefile:2107: recipe for target 'install-recursive' failed
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory '/tmp/SBo/libvirt-4.5.0'
> > Makefile:2415: recipe for target 'install-strip' failed
> > make: *** [install-strip] Error 2
> >
> > I do have the latest qemu installed, but I don't want to have to remove
> it for the sake of libvirt.
>
> do you have, by any chance, another version of libvirt installed? try
> removing that before building the new one.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200327/bd8b9d92/attachment.htm>
More information about the SlackBuilds-users
mailing list