You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error can be seen below in the full log, but it seems that zlib is included in the list of libraries to link to (-lz) while its library folder is not listed (-L/missing/libpath), therefore raising the error /usr/bin/ld: cannot find -lz.
I did not find any obvious reason for this issue, and the change in options was a good-enough solution for my case, but I believe this should work (or if it should not, then it should be more obvious why).
Description
When trying to build the Tk package as shared, it fails with this set of options:
While it works by only changing these two:
The error can be seen below in the full log, but it seems that zlib is included in the list of libraries to link to (
-lz
) while its library folder is not listed (-L/missing/libpath
), therefore raising the error/usr/bin/ld: cannot find -lz
.I did not find any obvious reason for this issue, and the change in options was a good-enough solution for my case, but I believe this should work (or if it should not, then it should be more obvious why).
Package and Environment Details
Conan profile
[settings]
arch=x86_64
build_type=Release
os=Linux
compiler=gcc
compiler.version=12
compiler.libcxx=libstdc++11
Steps to reproduce
conan install --requires=tk/8.6.10 --build='*' -r conancenter
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: