469,352 Members | 1,945 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

libpython2.4.so

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

Jan 6 '06 #1
5 4026
Levi Campbell wrote:
what is /usr/lib/libpython2.4.so used for?


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

Regards,
Martin
Jan 6 '06 #2
"Martin v. Lwis" wrote:
what is /usr/lib/libpython2.4.so used for?

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.
Jan 6 '06 #3
Levi Campbell wrote:
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
Jan 7 '06 #4
Heiko Wundram wrote:
what is /usr/lib/libpython2.4.so used for?


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

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
Jan 7 '06 #5
ahh, it all makes sense now, thank you.

Jan 7 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Olaf Meyer | last post: by
1 post views Thread by David | last post: by
reply views Thread by jgarber | last post: by
6 posts views Thread by Pete Crite | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.