Skip to content

OSX m1 v2.5.0 build fail #1430

@VoidVolker

Description

@VoidVolker

Expected behavior and actual behavior.

Expected: build completed.
Actual: build failed.

Error:

Linking C executable ../../../bin/opj_decompress
ld: library not found for -ltiff
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/opj_decompress] Error 1
make[1]: *** [src/bin/jp2/CMakeFiles/opj_decompress.dir/all] Error 2
make: *** [all] Error 2

Steps to reproduce the problem.

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make

Operating system

OSX 12.4 m1

openjpeg version

v2.5.0

Additional info

v2.4.0 - build works ok.

brew info libtiff
libtiff: stable 4.4.0 (bottled)
TIFF library and utilities
https://libtiff.gitlab.io/libtiff/
/opt/homebrew/Cellar/libtiff/4.4.0 (249 files, 4.8MB) *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions