libmap.conf: mapping directories?
Vladimir Kushnir
vkushnir at i.kiev.ua
Fri Sep 2 15:01:41 PDT 2005
Hi all,
Is it doable to teach rtld (via libmap.conf) to map directories rather
than libraries one-by-one? My problem is: I'm trying to use i386-built
packages on my amd64 box. Most of them don't work 'cause of RPATH set to
/usr/{X11R6,local}/lib where (obviously) 64-bit libs reside. And this
is one of the reasons ia32 compatibility under amd64 arch is almost
useless.
One way: to completely remove RPATH (with chrpath, for example - BTW, this
is nice enough utility but to make it work with 32-bit objects one has to
use some workarounds). It's not always convenient, though. Much, much better
it would be to place ALL of ia32 compat stuff into something like
/compat/freebsd32 like we do it for Linux stuff, but somehow nobody seems
to be even remotely interested. And the last way I see (a workaround as
well but hey, it's better than nothing at all) would be $SUBJECT. So my
question is: is it possible to map, say, /usr/local/lib to
/usr/local/lib32 and if yes how do I do it?
TIA,
Vladimir
More information about the freebsd-hackers
mailing list