Re: Virt-Viewer libspice-client-glib dependency

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



On Thu, Feb 17, 2022 at 01:09:18PM +0530, Sai Kiran Kumar Reddy wrote:
> Hi,
> I am Sai Kiran. I am trying to build virt-viewer-11.0, on my LInux From
> Scratch(LFS) machine. I have installed all the dependencies of virt-viewer.
> I have built the virt-viewer, with spice enabled. When I run the
> virt-viewer command, I get the following error
> " cannot open shared object file: No such
> file or directory. " But the shared object is present in "/usr/lib64".
> I am not sure what the issue is. It would be of great help to
> me if someone could help me out here.

Well, the issue is that the binary can't find the shared library.
You can run ldd in the binary to see this kind of issues, for

  $ ldd /usr/bin/virt-viewer | grep -i spice => /lib64/ (0x00007fe9526c6000) => /lib64/ (0x00007fe95267c000)

In your case the output is expected to be: => not found => not found

You can fix this with LD_LIBRARY_PATH environment variable,
adding the path to the folder with the shared library.

Sorry, I'm not familiar with LFS.


Attachment: signature.asc
Description: PGP signature

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux