When I install gearmand on mac10.8.3. Everything seems fine when I install libevent boost and so on . But at last I got and error return 1 when I run command make.
Error infomation is :
`make -j5 all-am
CXXLD bin/gearadmin
ld: library not found for -lboost_program_options-mt
collect2: ld returned 1 exit status
make[1]: * [bin/gearadmin] Error 1
make: * [all] Error 2`
I guess you need libboost-program-options-dev (debian name) library - try to find how it's named in MacOS.
Related
am trying to compile erlang code using command 'make' on erlang.mk and getting the below error. i dont know where to go from here. am new to erlang.mk and erlang. am on ubuntu
Getting Xabber Web client .... done.
Copying Xabber Web files to 'priv' directory ........ done.
make[1]: Entering directory '/home/isachi2004/xabber-websocket
/deps/fast_xml'
cc -o priv/lib/fxml.so c_src/fxml.o -lexpat -L -lei -shared
/usr/bin/ld: cannot find -lexpat
collect2: error: ld returned 1 exit status
c_src/Makefile.erlang.mk:24: recipe for target 'priv/lib/fxml.so'
failed
make[2]: *** [priv/lib/fxml.so] Error 1
Makefile:25: recipe for target 'pre-app' failed
make[1]: *** [pre-app] Error 2
make[1]: Leaving directory '/home/isachi2004/xabber-websocket
/deps/fast_xml'
erlang.mk:4512: recipe for target 'deps' failed
make: *** [deps] Error 2
This error means that it cannot find the development files for the Expat library (an XML parser):
/usr/bin/ld: cannot find -lexpat
On Ubuntu, you could try installing it with:
sudo apt install libexpat1-dev
I want to install caffe with conda. In the tutorial I followed it was told to install these stuff
sudo apt-get install protobuf-compiler libprotobuf-dev
Soon I found out that is was out-of-date and removed both of them and got latest protoc 3.9.1 . But I'm facing an error that said there is no protobuff in the folder.
I got confused about protobuf lib and protoc.
I have only one protoc in this folder
protoc: /usr/bin/protoc
And here's what I have after performing
sudo make all -j4
CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
CXX/LD -o .build_release/tools/convert_imageset.bin
CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin
CXX/LD -o .build_release/tools/extract_features.bin
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools
/convert_imageset.bin' failed
make: *** [.build_release/tools/convert_imageset.bin] Error 1
make: *** Ожидание завершения заданий…
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools
/upgrade_solver_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_solver_proto_text.bin]
Error 1
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Makefile:635: recipe for target '.build_release/tools/extract_features.bin' failed
make: *** [.build_release/tools/extract_features.bin] Error 1
Can you help me solving this issue? And also it would be great if you explain me the matter with protoc and protobuff
I try to compile and build this code in my Mac OS. I try this following cmd.
cd ideviceactivate
make
sudo make install
In terminal when I tried with make it gets following error.
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [all] Error 1
make: *** [all] Error 2
Can you please guide me how to solve this issue.
Thanks
I'm having a few troubles, when I try to make the websocket.so module in kamailio 4.3. Here is the error when I do make all:
make[2]: `libkcore.so.1.0' is up to date.
make[2]: `libkmi.so.1.0' is up to date.
LD (gcc) [M websocket.so] websocket.so
/usr/bin/ld: cannot find -lunistring
collect2: ld returned 1 exit status
make[1]: *** [websocket.so] Error 1
make: *** [modules] Error 1
Thanks for help !!!
Apparently you need to install libunistring
/usr/bin/ld: cannot find -lunistring
Depending on your package manager:
sudo aptitude install libunistring-dev
I am trying to install IO on a macbook pro but am stuck at the following:
Linking CXX shared library _build/dll/libIoObjcBridge.dylib ld:
library not found for -lIoSocket collect2: ld returned 1 exit status
make[2]: * [addons/ObjcBridge/_build/dll/libIoObjcBridge.dylib]
Error 1 make[1]: *
[addons/ObjcBridge/CMakeFiles/IoObjcBridge.dir/all] Error 2
Any suggestions?
Install libevent. I did it with Homebrew.