Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL7: dangling link #286

Closed
uli42 opened this issue Nov 15, 2016 · 1 comment
Closed

RHEL7: dangling link #286

uli42 opened this issue Nov 15, 2016 · 1 comment

Comments

@uli42
Copy link
Member

uli42 commented Nov 15, 2016

I built rpms on RHEL7 and installed them and found this:

# ls -l /usr/lib64/nx-X11/
total 0
lrwxrwxrwx 1 root root 15 Nov 15 10:15 libX11.so -> ../libNX_X11.so
lrwxrwxrwx 1 root root 19 Nov 15 10:15 libX11.so.6.2 -> ../libNX_X11.so.6.2*

The first link to ../libNX_X11.so is dangling as the plain lib file is simply not there:

# ls -l /usr/lib64/libNX*
lrwxrwxrwx 1 root root      16 Nov 15 10:15 /usr/lib64/libNX_X11.so.6 -> libNX_X11.so.6.2*
-rwxr-xr-x 1 root root 1334024 Nov 15 10:08 /usr/lib64/libNX_X11.so.6.2*

The RPM does not contain it:

# rpm -qlp libNX_X11-6-3.5.99.2-0.0build1.el7.centos.x86_64.rpm
/usr/lib64/libNX_X11.so.6
/usr/lib64/libNX_X11.so.6.2
@sunweaver
Copy link
Member

The dangling symlink is not the real issue.

libNX_X11.so is only required when building something against libNX_X11. In Debian packaging libNX_X11.so is a file in libnx-x11-dev. so should it be in the .spec file, I guess.

I will fix this issue by removing the libX11.so symlink to libNX_X11.so entirely. Not needed at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants