0

Fail to run AllJoyn Lighting Service Framework

asked 2014-11-08 08:18:06 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi all, I followed the README.txt under the alljoyn light service_framework directory, and builded the project successfully. But when I ran ./alljoyn-daemon under the directory core/service_framework/build/linux/x86/debug/dist/cpp/bin, It got some errors.

  ./alljoyn-daemon: symbol lookup error: ./alljoyn-daemon: undefined symbol: _ZN3qcc6RWLock4InitEv

When I ran ./lamp_service under the directory core/service_framework/build/linux/thin_core_library/lamp_service/bin, It worked ok.

When I ran ./lighting_controller_service under the directory core/service_framework/build/linux/standard_core_library/lighting_controller_service/bin, It got some symbol errors too.

./lighting_controller_service: symbol lookup error: ./lighting_controller_service: undefined symbol: _ZN3qcc6RWLock4InitEv

Anyone knows where is the problems? Thanks a lot.

edit retag flag offensive close merge delete

Comments

Can you post your scons command that you used to build?

congngale ( 2014-11-09 05:50:59 -0700 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-10 14:03:22 -0700

bspencer gravatar image

Looks like you need to set the LD_LIBRARY_PATH to point to the shared libraries. Follow instructions here on the wiki to set up this variable.

edit flag offensive delete publish link more

Comments

I have sloved the problem. Thanks!

0502lian ( 2014-11-10 17:38:32 -0700 )edit
0

answered 2015-04-10 20:25:37 -0700

Song gravatar image

um.. you know this error?

root@ubuntu:~/core/service_framework/build/linux/x86/debug/dist/cpp/bin# ./alljoyn-daemon --config-file=./routerconfig.xml 0.487 * ERROR NETWORK external ...mon/os/posix/Socket.cc:345 | Binding (sockfd = 41) to 0.0.0.0 9955: 98 - Address already in use: ER_OS_ERROR 0.487 ERROR TCP external ...outer/TCPTransport.cc:3423 | TCPTransport::DoStartListen(): Failed to bind to 0.0.0.0/9955: ER_OS_ERROR 0.488 ERROR NETWORK external ...mon/os/posix/Socket.cc:369 | Binding (sockfd = 42) to @alljoyn: 98 - Address already in use: ER_OS_ERROR 0.488 * ERROR ALLJOYN external ...six/DaemonTransport.cc:340 | DaemonTransport::ListenFd(): Bind() failed: ER_OS_ERROR

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-11-08 08:18:06 -0700

Seen: 438 times

Last updated: Apr 10 '15