| Store | Cart

Embedding Python

From: Heiko Wundram <mode...@ceosg.de>
Sat, 26 Mar 2005 21:57:33 +0100
Am Samstag, 26. M?rz 2005 20:43 schrieb Mark Tolonen:
> On my system, for whatever reason, the .so library isn't present.  I have> the python-devel package installed.

I actually can't believe this; do

ldconfig -p|grep "python"

as root and look for any output. And remember that the shared library isn't 
installed by the devel package, but by the standard python package, as the 
binary /usr/bin/python is only a "stub", which chains to the python 
interpreter in the shared lib (at least for any distribution I know of, it 
would be braindead to link the command-line interpreter statically anyway).

Sample output:

heiko heiko # ldconfig -p|grep python
        libpython2.4.so.1.0 (libc6) => /usr/local/lib/libpython2.4.so.1.0
        libpython2.4.so (libc6) => /usr/local/lib/libpython2.4.so
        libpython2.3.so.1.0 (libc6) => /usr/lib/libpython2.3.so.1.0
        libpython2.3.so (libc6) => /usr/lib/libpython2.3.so
heiko heiko #

-- 
--- Heiko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050326/577f8e8b/attachment.pgp>

Recent Messages in this Thread
Markus Franz Mar 26, 2005 11:42 am
Diez B. Roggisch Mar 26, 2005 01:52 pm
Markus Franz Mar 26, 2005 05:05 pm
Diez B. Roggisch Mar 26, 2005 05:06 pm
Mark Tolonen Mar 26, 2005 06:38 pm
Diez B. Roggisch Mar 26, 2005 06:47 pm
Mark Tolonen Mar 26, 2005 07:43 pm
Heiko Wundram Mar 26, 2005 09:51 pm
Heiko Wundram Mar 26, 2005 08:57 pm
Reinhold Birkenfeld Mar 26, 2005 08:06 pm
Mark Tolonen Mar 26, 2005 08:36 pm
Messages in this thread