I think there will always be some things that want /usr/lib. That said, I'm guessing you started with a no-multilib tarball? Frankly, I find there's still too many programs that want 32bit libraries to go full no-multilib. Maybe in a few more years as the last of the 32bit only machines die off and are replaced with 64 bit machines.

On 2/13/2021 12:33 PM, Valmor F. de Almeida wrote:

Hello,
I use the global flags USE="elogind alsa -multilib -abi_x86_32" and I thought this would prevent 32bit libraries to be installed.

For example I have (from glibc) both:

/usr/lib/libutil.so
/usr/lib64/libutil.so

this causes problems with some packages outside portage that I would like to install. The install fails (or is incomplete) because it is trying to link a 32bit incompatible library, e.g.:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libutil.so when searching for -lutil

Is there a way to have only /usr/lib64 in gentoo or is this not possible? I do use

export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH

in my shell startup file.

Thanks for inputs.
--
Valmor

--
Dan Egli
On my test server


Reply via email to