467,122 Members | 1,329 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

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

ctypes failing when a library needs another library

Hi

I'm having an issue with ctypes loading libraries.

I got the following setup. I have a library (coded by me) that calls a
external library (installed with the package manager), and my ctypes
program calls my lib.

at first python couldn't find my lib but setting LD_LIBRARY_PATH=. fix
that, but now it's failing inside my lib because it can't find the
"system" library.

the library itself is not an issue since I have a C program that test
it and it's working fine.

I'm running python 2.4 with the external ctypes module. under ubuntu linux 6.10
Apr 9 '07 #1
  • viewed: 890
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by Thomas Heller | last post: by
9 posts views Thread by jtravs@gmail.com | last post: by
1 post views Thread by sjdevnull@yahoo.com | last post: by
1 post views Thread by mmacrobert | last post: by
3 posts views Thread by Andrew Lentvorski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.