Skip to content

Instantly share code, notes, and snippets.

@2bits
Created March 18, 2012 07:19
Show Gist options
  • Save 2bits/2069568 to your computer and use it in GitHub Desktop.
Save 2bits/2069568 to your computer and use it in GitHub Desktop.
26r7787 link error: ld: unknown option: -z from admAsNeeded.cmake
Linking CXX shared library libADM_core6.dylib
cd /tmp/homebrew-avidemux3-2.6-fEkv/buildCor/ADM_core/src && /usr/local/Cellar/cmake/2.8.7/bin/cmake -E cmake_link_script CMakeFiles/ADM_core6.dir/link.txt --verbose=1
/usr/bin/clang++ -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -g -O0 -g -shared -L/usr/local/Cellar/gettext/0.18.1.1/lib -o libADM_core6.dylib -install_name /tmp/homebrew-avidemux3-2.6-fEkv/buildCor/ADM_core/src/libADM_core6.dylib CMakeFiles/ADM_core6.dir/ADM_cpuCap.cpp.o CMakeFiles/ADM_core6.dir/ADM_memsupport.cpp.o CMakeFiles/ADM_core6.dir/ADM_threads.cpp.o CMakeFiles/ADM_core6.dir/ADM_win32.cpp.o CMakeFiles/ADM_core6.dir/ADM_memory.cpp.o CMakeFiles/ADM_core6.dir/ADM_misc.cpp.o CMakeFiles/ADM_core6.dir/TLK_clock.cpp.o CMakeFiles/ADM_core6.dir/ADM_fileio.cpp.o CMakeFiles/ADM_core6.dir/ADM_dynamicLoading.cpp.o CMakeFiles/ADM_core6.dir/ADM_debug.cpp.o CMakeFiles/ADM_core6.dir/ADM_queue.cpp.o CMakeFiles/ADM_core6.dir/ADM_benchmark.cpp.o CMakeFiles/ADM_core6.dir/ADM_crashdump_apple.cpp.o -Wl,-z,defs -framework Carbon -ldl /usr/lib/libpthread.dylib
ld: unknown option: -z
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ADM_core/src/libADM_core6.dylib] Error 1
make[1]: *** [ADM_core/src/CMakeFiles/ADM_core6.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment