ctypes failing when a library needs another library

J

Jorge Vargas

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
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top