cld2-php-ext
cld2-php-ext copied to clipboard
Error when installing
Hi,
I get this error :
ld: unknown option: -soname=libcld2_full.so
clang: error: linker command failed with exit code 1 (use -v to see invocation)
when using the command : CFLAGS="-Wno-narrowing" ./compile_libs.sh
Any ideas on how to solve this ? Thx
Thanks for the report! I opened pull request #9 to address this. It fixes the ld: unknown option: -soname=libcld2_full.so error by adjusting how the cld2 build is invoked, so the problematic linker flag isn’t passed to macOS/Clang. This should let CFLAGS="-Wno-narrowing" ./compile_libs.sh work again.