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
During building the macOS extension I found that libtiff and libblosc are "linked" (not sure if proper name) system site libraries libzstd and liblz4, which are built earlier and properly find by cmake.
-- Found LZ4 library: /Users/runner/work/1/s/build_utils/libs_build/lib/liblz4.dylib
-- Found Zstd library: /Users/runner/work/1/s/build_utils/libs_build/lib/libzstd.dylib
but I would like to understand why after compilation I got (oas part of otool -l build_utils/libs_build/lib/libtiff.5.7.0.dylib)
cmd LC_LOAD_DYLIB
cmdsize 40
name liblerc.dylib (offset 24)
time stamp 2 Thu Jan 1 00:00:02 1970
current version 0.0.0
compatibility version 0.0.0
Load command 14
cmd LC_LOAD_DYLIB
cmdsize 56
name /usr/local/lib/libzstd.1.dylib (offset 24)
time stamp 2 Thu Jan 1 00:00:02 1970
current version 1.5.0
compatibility version 1.0.0
Load command 15
even if build_utils/libs_build/lib/ contains both libzstd.1.dylib and liblerc.dylib
Environment variables are set inside azure-pipelines.yaml
During building the macOS extension I found that
libtiff
andlibblosc
are "linked" (not sure if proper name) system site librarieslibzstd
andliblz4
, which are built earlier and properly find by cmake.Here log:
https://dev.azure.com/bokota/imagecodecs/_build/results?buildId=638&view=logs&j=567a25c9-267d-5ec8-0386-2960989da2e4&t=f2935ac5-f96c-5e27-6bc4-6f14b3e80853&l=3463
It could be fixed using
imagecodecs_build/build_utils/fix_macos_lib.sh
Lines 47 to 49 in fc23628
but I would like to understand why after compilation I got (oas part of
otool -l build_utils/libs_build/lib/libtiff.5.7.0.dylib
)even if
build_utils/libs_build/lib/
contains bothlibzstd.1.dylib
andliblerc.dylib
Environment variables are set inside azure-pipelines.yaml
imagecodecs_build/azure-pipelines.yaml
Line 9 in fc23628
imagecodecs_build/azure-pipelines.yaml
Lines 144 to 148 in fc23628
Build command is here:
imagecodecs_build/build_utils/build_libraries.sh
Lines 311 to 317 in fc23628
The text was updated successfully, but these errors were encountered: