[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/lib/<arch>



I poked around the glibc source a bit to try to find out how this works, but
it's a jungle in there, and I can't find any documentation on this subject.

Is there any way to disable searching of /lib/i686 and friends on a per-program
basis, via an environment variable or some such?  Particularly, I'd like to use
the normal libraries in /lib when running gdb (the debugged program, to be
specific).  Thus far, I've simply disabled read permission on /lib/i686 (as
root) for these occasions, but it seems like there should be a way to do this
as a normal user.  Is there?  If not, will there ever be?

Simply setting LD_LIBRARY_PATH=/lib does not seem to work.

-- 
 - mdz



Reply to: