overriding /usr/lib and /usr/include directories

Bruce Edge bedge at troikanetworks.com
Thu May 31 19:49:59 EDT 2001


I'm building python for an embedded environment, and it's apparently
picking up the library names from /usr/lib. How do I tell it where to look
for shared libs, like libreadline.so.4.2 for example?

My host has /usr/lib/libreadline.so.4.1, while in my target env my
LD_LIBRARY_PATH points to a dir containing libreadline.so.4.2, and the
python readline module  as it's looking for the version it found in
/usr/lib.

Thanks, Bruce.



More information about the Python-list mailing list