Summary: | sys-apps/baselayout-2.2-r1: emerge fails with "non-empty dir found where we needed a symlink: /usr/local/lib" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Wernig <public> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Markus Wernig
2016-07-03 23:52:45 UTC
The easiest way to do this conversion is the following, as root: # cd /usr/local # mv lib lib64 # ln -snf lib64 lib This is set up like this by default with baselayout-2.2, so I'm not sure why your system isn't set up this way. (In reply to William Hubbs from comment #1) > The easiest way to do this conversion is the following, as root: > > # cd /usr/local > # mv lib lib64 > # ln -snf lib64 lib > > This is set up like this by default with baselayout-2.2, so I'm not sure > why your system isn't set up this way. Thanks for the update! Both lib and lib64 existed as directories under /usr/local: # ls -l /usr/local total 20 drwxr-xr-x 2 root root 4096 Sep 25 2015 bin drwxr-xr-x 3 root root 4096 Sep 25 2015 lib drwxr-xr-x 2 root root 4096 Jan 7 2016 lib64 drwxr-xr-x 2 root root 4096 Mar 18 13:31 sbin drwxr-xr-x 6 root root 4096 Sep 25 2015 share /usr/local/lib64 was empty, though. I removed it and set up the symlink manually. There were some libs from locally installed programs in /usr/local/lib. Fortunately, all of them were 64bit libs. So this is now WORKSFORME. |