Closed guss77 closed 7 years ago
Which commands do you use exactly to trigger the build?
I suspect STATIC_LIBRARY_LINKAGE
is enabled or zlib is only available as static library. At least the build system attempts to link against the static version of zlib. This is usually not what you want when packaging a shared library for a Linux distro. For the variables controlling whether to build static or dynamic libs and whether to link against dependencies statically or dynamically checkout the documentation.
From the error message I would tell the objects in the static zlib library are not PICed. How do you come to the conclusion "it is PICed just fine"? Maybe only the shared zlib library is PICed?
I'm closing this because you didn't respond and from my side it looks like this issue is simply caused by trying link the dynamic tagparser library against a static, unrelocatable zlib.
If you need any further help, feel free to repoen.
Thank you. Sorry for not responding back. I apologize.
On Aug 28, 2017 7:42 PM, "Martchus" notifications@github.com wrote:
I'm closing this because you didn't respond and from my side it looks like this issue is simply caused by trying link the dynamic tagparser library statically against an unrelocatable zlib.
If you need any further help, feel free to repoen.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Martchus/tagparser/issues/6#issuecomment-325513098, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrmGyf3jzVyi7jdHBWN7mptQPOOCUR2ks5sc1BogaJpZM4OQ3bg .
When building on Ubuntu 16.10 ,I get the following error:
I've checked libz and it is fPICed just fine.