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
./compile_libs.sh Warning: None of CFLAGS, CXXFLAGS or CPPFLAGS is set; you probably should enable some options.
ld: unknown option: -soname=libcld2.so
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: unknown option: -soname=libcld2_full.so
clang: error: linker command failed with exit code 1 (use -v to see invocation)
is it available for Yosemite? please let me know
Thanks in advance,
Canh
The text was updated successfully, but these errors were encountered:
You should only care about this if you need the shared libraries. Anyway, to get the compilation to work you can replace -o libcld2.so $LDFLAGS -Wl,-soname=libcld2.so with -o libcld2.dylib $LDFLAGS -Wl,-install_name,libcld2.dylib. (Note that the equal sign after soname got replaced by a comma.)
This will fix compilation and allow you to use the library in Python bindings such as chromium-compact-language-detector. But a proper fix would do more things related to library versions, I guess.
lemig
added a commit
to sprycer/cld2
that referenced
this issue
Dec 31, 2017
./compile_libs.sh Warning: None of CFLAGS, CXXFLAGS or CPPFLAGS is set; you probably should enable some options.
ld: unknown option: -soname=libcld2.so
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: unknown option: -soname=libcld2_full.so
clang: error: linker command failed with exit code 1 (use -v to see invocation)
is it available for Yosemite? please let me know
Thanks in advance,
Canh
The text was updated successfully, but these errors were encountered: