installing python library modules (general question)
Lee Harr
missive at frontiernet.net
Sun Jul 13 12:21:20 EDT 2003
> ImportError: libmad.so.0: cannot open shared object file: No such file
> or directory
>
> I know the file /usr/local/lib/libmad.so.0 exists, but python can't
> seem to find it. I tried adding this path to LD_LIBRARY_PATH, but
> that didn't help.
>
> I guess that I just really dont' know enought about libraries and
> linux (redhat 9). I don't really know where they are supposed to go
> after being compiled, and how python "loads" and uses them.
>
Where are your other python libraries? On my system, they are in:
/usr/local/lib/python2.2/
and then modules that get added by distutils go in:
/usr/local/lib/python2.2/site-packages/
I have a bunch of libfoo.so and libbaz.so.1 type files in there, so
I think if you have a directory like that you should try dropping
your libmad.so.0 in there.
More information about the Python-list
mailing list