No parsers found...

Paul Boddie paul at boddie.net
Wed May 29 12:51:36 EDT 2002


"Shagshag13" <shagshag13 at yahoo.fr> wrote in message news:<ad2bss$th0cq$1 at ID-146704.news.dfncis.de>...
> i have
> [~/local/lib 510 ] ls
> libexpat.a         libexpat.so        libexpat.so.0.1.0
> libexpat.la        libexpat.so.0      python2.2
> 
> but it's look like python doesn't find it no ?
> 
> i should have missed something...

Yes, on various UNIX systems you can set the LD_LIBRARY_PATH
environment variable:

  export LD_LIBRARY_PATH=/home/shagshag/local/lib

If it's already set, then try...

  export LD_LIBRARY_PATH=/home/shagshag/local/lib:${LD_LIBRARY_PATH}

That works with bash on Linux and Solaris, for a start. Varying the
above statement and the variable name should get you closer to making
it work on HP-UX with whatever shell you're using.

Paul



More information about the Python-list mailing list