pedropramos/PyonR

search for python libs doesn't work on Debian GNU/Linux

Opened this issue · 0 comments

On my Debian amd64 system, the python library is actually at

/usr/lib/x86_64-linux-gnu/libpython2.7.so.1

This points out two issues.

The first is so called "multi-arch" libraries live in paths prefixed with their architecture.

The second problem is that the unversioned link libpython2.7.so is only installed by the development package. This isn't such a hardship, but I guess that the most correct thing to do is to load the versioned library.

I'm not sure about a clean fix for the multiarch problem that isn't Debian specific. Perhaps a way to allow the user to specify where to find libpython would be helpful.