Page 1 of 1

libXmu is absent without leave

PostPosted: Sep 19th, '20, 03:19
by haraldur
I was trying to build a package, which I have done in Red Hat, Suse, Debian and other distros. But I get an error
cannot find -lXmu
In directory /usr/lib64/ there is no libXmu.so as in those other linux families.
So I tried urpmi libxmu
but it says lib64mu6 is already installed.

Re: libXmu is absent without leave

PostPosted: Sep 19th, '20, 16:34
by doktor5000
lib64mu6 is only the library itself, if you want to compile anything you need the respective -devel package, this is the same as for Red Hat, Suse, Debian and other distros.

Re: libXmu is absent without leave

PostPosted: Sep 20th, '20, 02:25
by haraldur
I found the problem:
there is no symbolic link from libXmu.so to the actual library (with version suffix)
There is at least one other library without ".so" link. So the maintainers need to check their work before releasing it.

Re: libXmu is absent without leave

PostPosted: Sep 20th, '20, 11:58
by doktor5000
You're wrong. That symlink is added in the -devel package.

Code: Select all
[doktor5000@Mageia7]─[11:54:42]─[~] ll /usr/lib64/libXmu.so*
lrwxrwxrwx 1 root root     15 Mär 17  2019 /usr/lib64/libXmu.so -> libXmu.so.6.2.0*
lrwxrwxrwx 1 root root     15 Mär 17  2019 /usr/lib64/libXmu.so.6 -> libXmu.so.6.2.0*
-rwxr-xr-x 1 root root 111456 Mär 17  2019 /usr/lib64/libXmu.so.6.2.0*
[doktor5000@Mageia7]─[11:55:26]─[~] rpm -qf /usr/lib64/libXmu.so*
lib64xmu-devel-1.1.3-1.mga7
lib64xmu6-1.1.3-1.mga7
lib64xmu6-1.1.3-1.mga7
[doktor5000@Mageia7]─[11:55:30]─[~]