Still struggling with my first package. Don't know if this belong to this list (let me know if not)
Anyway, I package the extension and make a 'pip install' which builds it. Linker command is:
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-x86_64-3.5/lirc/_client.o -L/usr/lib64 -llirc_client -lpython3.5m -o build/lib.linux-x86_64-3.5/_client.cpython-35m-x86_64-linux-gnu.so
Still, this module has unresolved references. This can be seen using ldd. When invoked on a correctly linked variant there is a line
ldd ../lib/.libs/_client.so liblirc_client.so.0 => /home/mk/tmp/lirc/...........
However, the variant created by setuptools misses this line, and the corresponding symbols are unresolved. Still, it's linked using -llirc_client in the linker command above.
Any clue out there? Why isn't my _client.so linked to liblirc_client as it should?
Cheers!
--alec
python-devel@lists.fedoraproject.org