[asterisk-scf-dev] linking issue (libServiceLocatorIf_CXX.so)

Kevin P. Fleming kpfleming at digium.com
Thu Nov 4 10:07:14 CDT 2010


On 11/04/2010 10:03 AM, Paul Belanger wrote:
> On Thu, Nov 4, 2010 at 10:44 AM, David M. Lee <dlee at digium.com> wrote:
>> If you pass VERBOSE=1 into make, it will print out the commands being executed.
>>
> 
> More verboseness:
> 
> ---
> Linking CXX shared library libServiceLocatorIf_CXX.so
> cd /home/pabelanger/digium/asterisk-scf/gitall/build/slice/Core/Discovery
> && /usr/bin/cmake -E cmake_link_script
> CMakeFiles/ServiceLocatorIf_CXX.dir/link.txt --verbose=1
> /usr/bin/c++  -fPIC -g  -shared -Wl,-soname,libServiceLocatorIf_CXX.so
> -o libServiceLocatorIf_CXX.so
> CMakeFiles/ServiceLocatorIf_CXX.dir/ServiceLocatorIf.cpp.o
> -L/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjlib/lib
> -L/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjlib-util/lib
> -L/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjnath/lib
> -L/home/pabelanger/digium/asterisk-scf/gitall/pjproject/third_party/lib
> -L/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjmedia/lib
> -L/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjsip/lib
> -lIce -Wl,-rpath,/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjlib/lib:/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjlib-util/lib:/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjnath/lib:/home/pabelanger/digium/asterisk-scf/gitall/pjproject/third_party/lib:/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjmedia/lib:/home/pabelanger/digium/asterisk-scf/gitall/pjproject/pjsip/lib:
> /usr/bin/ld: cannot find -lIce
> collect2: ld returned 1 exit status
> make[2]: Leaving directory `/home/pabelanger/digium/asterisk-scf/gitall/build'
> make[1]: Leaving directory `/home/pabelanger/digium/asterisk-scf/gitall/build'
> make[2]: *** [slice/Core/Discovery/libServiceLocatorIf_CXX.so] Error 1
> make[1]: *** [slice/Core/Discovery/CMakeFiles/ServiceLocatorIf_CXX.dir/all]
> Error 2
> make: *** [all] Error 2
> ---

That command appears to be missing -L/opt/Ice-3.4/lib64.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-scf-dev mailing list