parc-ccnx-archive / ccnxSimpleFileTransfer

Other
5 stars 8 forks source link

liblongbow.so.1 problem #5

Closed chorwonkim closed 8 years ago

chorwonkim commented 8 years ago

when i typing this code '$CCNX_HOME/bin/metis_daemon --capacity 0 &', a problem occur.

The problem is 'error while loading shared libraries: liblongbow.so.1: cannot open shared object file: No such file or directory'

I already install CCNx_Distillery to Github, so i think it's not a problem about longbow.

What's the problem and what should I do?

rayyagar commented 8 years ago

Can u setup an environment variable LD_LIBRARY_PATH='Location where u installed CCNx_Distillery' and then execute the command.

walendo commented 8 years ago

As Ramesh said, setting LD_LIBRARY_PATH in your environment should help the apps find the CCNx libraries. The default CCNx_Distillery build puts built libraries in CCNx_Distillery/usr/lib so, for example, setting your LD_LIBRARY_PATH to /path/to/CCNx_Distillery/usr/lib should work.

chorwonkim commented 8 years ago

Thanks!!!

isolis commented 8 years ago

There are various ways to link libraries to binaries. We're trying to find a good balance between usability, utility, portability and consistency across systems. We don't have a final solution yet, but we're trying to improve on what we have. For now, LD_LIBRARY_PATH is your friend.

GlennCScott commented 8 years ago

I think this has been addressed above, so I'm closing the issue.

Please reopen or create a new issue if there are follow-on problems.