Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753994 - unsymlink-lib comlains about: /usr/lib needs to be a symlink to lib64!
Summary: unsymlink-lib comlains about: /usr/lib needs to be a symlink to lib64!
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-11 08:52 UTC by Thomas Stein
Modified: 2020-11-12 20:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stein 2020-11-11 08:52:24 UTC
Hello Devs.

Just tried to upgrade to the new stable profile but i get:

rather ~ # unsymlink-lib --analyze
/usr/lib needs to be a symlink to lib64!

Funny thing is, /usr/lib *is* a symlink to lib64.

rather ~ # ls -l /usr/
total 396
drwxr-xr-x   3 root root  81920 Nov 11 09:26 bin
drwxr-xr-x 444 root root  49152 Oct 29 10:06 include
lrwxrwxrwx   1 root root      6 Apr  7  2015 lib -> lib64/
drwxr-xr-x   6 root root  45056 Aug 19 12:54 lib32
drwxr-xr-x 140 root root 167936 Oct 29 10:15 lib64

Any ideas how to fix this?

cheers, t.

Reproducible: Always
Comment 1 Ben Kohler gentoo-dev 2020-11-11 22:15:45 UTC
I'm not sure releng can help you with this, but your "ls" output looks odd to me-- I think your symlink target needs to be lib64, not lib64/ (note trailing /)

I would try:

rm /usr/lib && ln -s lib64 /usr/lib
Comment 2 Thomas Stein 2020-11-12 07:21:42 UTC
Recreating the symlink without the slash helped. Thanks Ben.
Comment 3 Jonas Stein gentoo-dev 2020-11-12 20:58:21 UTC
For problems like this I suggest to use our support channels next time:

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/