running omniORB3 under linux

alexndyer
alexndyer used Ask the Experts™
on
 I want to run an application called omni under linux but it seems to need a shared object called libomniorb3.so.0.
   When I give the name of the executable I got the the message "error while loading shared libraries. libomniorb3.so.0. Cannot load shared object file. No such file or directory"
   Do you have any suggestions to solve this problem?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
First do a
ldd /full/path/to/the/program
in order to find out which library is actually missing.
Most likely it's libomniorb3.so.0.

Then locate the directory where the missing library
is located (e.g. find / -name libomniorb3.so.0).

Tell the dynamic linker about it. There are two ways to do
that:

1.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dir/where/you/found/the/lib

You'd put that line into your profile.

2.
become root
edit /etc/ld.so.conf: add the name of the directory where you found the library to the bottom of that file.
Do a
ldconfig -v
to make the dynamic linker pick up the changed config
file.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: mglxxx {http:#7482305}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial