Group: comp.lang.python


Subject: Using ctypes with lib not found via ldconfig
From: Jean-Paul Calderone
Date: 12/20/2007 4:21:59 PM
On 20 Dec 2007 20:36:20 GMT, Cylops <no@man.org> wrote: >I'd like to use ctypes for my Linux app, but the libraries i want to >use it on aren't in a standard location, and can't be found via ldconfig. >They aren't in any of the directories listed in /etc/ld.so.conf, and they >won't be. Our IT dept. controls this, and won't make them normally >accessible for me. > >So, how do i steer ctypes towards these libs? Let's say this is one of >them: > > /home/me/otherLibs/libgaak.so.6 > This generally works by setting the LD_LIBRARY_PATH environment variable. Jean-Paul