Problem: /usr/bin/ld: cannot find -lmcpp
Hey all,
I encountered this problem, it seems ld (GNU linker) is unable to find some library? Because I installed this mcpp package into 'some_directory', is there any trick to make it find the 'some_directory'?
Any environment variable of help?
make[2]: Entering directory `/home/ericx/software_bin/ice_src_rpm/Ice-3.3.0/cpp/src/Slice'
rm -f ../../lib/libSlice.so.3.3.0
c++ -shared -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.3/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../lib -o ../../lib/libSlice.so.3.3.0 -Wl,-h,libSlice.so.33 Scanner.o ../Slice/Grammar.o Parser.o CPlusPlusUtil.o CsUtil.o JavaUtil.o Preprocessor.o Checksum.o PythonUtil.o DotNetNames.o RubyUtil.o Util.o MD5.o MD5I.o SignalHandler.o -lIceUtil -lmcpp -lpthread -lrt
/usr/bin/ld: cannot find -lmcpp
collect2: ld returned 1 exit status
Thanks in advance...
|