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
build/temp.linux-x86_64-3.5/lirc/_client.o -L/usr/lib64 -llirc_client
Still, this module has unresolved references. This can be seen using
ldd. When invoked on a correctly linked variant there is a line
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