libpython2.4.so

?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Levi said:
what is /usr/lib/libpython2.4.so used for?

Nothing, usually. Things embedding python might use it, such as vim.

Regards,
Martin
 
H

Heiko Wundram

Martin v. Löwis said:
Nothing, usually. Things embedding python might use it, such as vim.

At least the interpreter uses it on systems where it's enabled...

modelnine@phoenix ~ $ ldd /usr/bin/python2.4
libpython2.4.so.1.0 => /usr/lib/libpython2.4.so.1.0
(0x00002aaaaabc2000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00002aaaaadeb000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aaaaaf01000)
libutil.so.1 => /lib/libutil.so.1 (0x00002aaaab004000)
libstdc++.so.6
=> /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/libstdc++.so.6
(0x00002aaaab107000)
libm.so.6 => /lib/tls/libm.so.6 (0x00002aaaab306000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaab48a000)
libc.so.6 => /lib/tls/libc.so.6 (0x00002aaaab597000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
modelnine@phoenix ~ $

--- Heiko.
 
S

Shane Hathaway

Levi said:
what is /usr/lib/libpython2.4.so used for?

On many systems, it is the core of Python, and /usr/bin/python2.4 is a
small wrapper around it. Here's what I see on my box:

[shane@panther usr]$ ls -l bin/python2.4 lib/libpython2.4.so.1.0
-rwxr-xr-x 1 root root 4072 Oct 3 12:35 bin/python2.4
-r-xr-xr-x 1 root root 1009832 Oct 3 12:35 lib/libpython2.4.so.1.0

Shane
 
?

=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=

Heiko said:
At least the interpreter uses it on systems where it's enabled...

That depends on the system:

martin@mira:~$ ls -l /usr/lib/libpython2.4.so
lrwxrwxrwx 1 root root 17 2005-11-21 23:10 /usr/lib/libpython2.4.so ->
libpython2.4.so.1
martin@mira:~$ ldd /usr/bin/python
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f7e000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f7a000)
libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7f76000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f50000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e1a000)
/lib/ld-linux.so.2 (0xb7fa8000)
martin@mira:~$

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,275
Messages
2,571,378
Members
48,070
Latest member
nick_tyson

Latest Threads

Top