From dd9540a150ef6cd23a1bb85bc50b799b1ca13f9c Mon Sep 17 00:00:00 2001 From: Mustafa Öksüz Date: Sep 01 2022 07:31:43 +0000 Subject: solving linker issue on customized libtiff --- diff --git a/doc/how_to_build_macosx.md b/doc/how_to_build_macosx.md index b383662..6768314 100644 --- a/doc/how_to_build_macosx.md +++ b/doc/how_to_build_macosx.md @@ -63,6 +63,13 @@ $ cd ../tiff-4.0.3 $ ./configure && make ``` +If you install libtiff through brew before, linker tool couses fail. In order to solve this problem use install_name_tool +``` +$ cd opentoonz/thirdparty/tiff-4.0.3/libtiff/.libs/ +$ install_name_tool -id $PWD/libtiff.5.dylib libtiff.5.dylib +``` + + If you downloaded and installed boost from https://boost.org instead of homebrew, move the package under `thirdparty/boost` as follows: ``` $ cd thirdparty/boost