Open RaphaelMaschinsen opened 1 year ago
An important detail: Building and linking the static library worked. The error occurs when building the shared library.
I installed libiconv with brew install libiconv
and libiconv.dylib
is located in the /usr/local/Cellar/libiconv/1.17/lib
folder next to libiconv.a
.
I'm building on MacOS 11.7 (AppleClang 13.0.0.13000029):
At first I run
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_TESTS=NO -DENABLE_TESTS_COMPONENT=NO -DENABLE_STRICT=NO
the build then fails when linking:Following the exact same steps I build successfully on ArchLinux (
GNU 12.2.1
)