problems trying to build python 2.6 as a shared library

Christian Heimes lists at cheimes.de
Fri Sep 25 07:44:50 EDT 2009


Marco Nawijn wrote:
> The dynamic loader cannot find the python shared library.  There are
> at least 2 options:
>     1. Add path that contains the shared library to the
> LD_LIBRARY_PATH environment variable. In a bash shell this can be
> accomplished by:  export LD_LIBRARY_PATH=/path/to/python_shared_lib:
> $LD_LIBRARY_PATH
>     2. Add path to dynamic linker configuration file. This typically
> is in '/etc/ld.so.conf'. See man page for ld for more information.


3. Set LD_RUN_PATH before you link the shared library or use the -rlink
option of the linker, see man(1) ld.

Christian




More information about the Python-list mailing list