SOLVED: unable to launch app due to "cannot open shared object file"
tonynelson at georgeanelson.com
Sun May 20 01:17:54 UTC 2007
At 8:01 PM -0500 5/19/07, Tom Poe wrote:
>Tony Nelson wrote:
>> At 5:02 PM -0700 5/19/07, stan wrote:
>>> On Sat, 19 May 2007 16:56:56 -0500
>>> Tom Poe <tompoe at fngi.net> wrote:
>>>> $ openmovieeditor: error while loading shared libraries:
>>>> libgavl.so.0: cannot open shared object file: No such file or
>>>> + Exit 127 openmovieeditor
>>>> I then ran:
>>>> $ locate libgavl.so
>>>> I then brought up /etc/ld.so.conf and added
>>>> "include /usr/local/lib/", then I ran command: ldconfig
>>>> but no go. Any solutions?
>>> This might be a long shot, but I'm thinking that it is a dependency
>>> that libgavi.so.0 needs that is causing the problem. i.e. it is trying
>>> to call another library and it isn't there. Not sure how you would
>>> verify that, unless it is in the logs somewhere, or you install the
>>> libgavi-devel package so you can then run gdb on the process to find
>>> out where it is failing.
>> My own guess is that libgavl's home in /usr/local/lib/ is not in the
>> default library search path in /etc/ld.so.conf and /etc/ld.so.conf.d/.
>> ldconfig -p | grep '/usr/local' will probably be empty. Google around a
>> bit before making too much of this; I've never done it myself.
>Well, everyone was helpful. Turned out that when I ran "echo
>LD_LIBRARY_PATH" it was empty. I added /usr/local/lib by typing (I
>think): ]$ LD_LIBRARY_PATH=/usr/local/lib and then:
> export LD_LIBRARY_PATH
>That should do it, at least until I have to shut down and boot up again. :)
Google on "linux library search path" to find out why LD_LIBRARY_PATH isn't
such a good idea.
TonyN.:' <mailto:tonynelson at georgeanelson.com>
More information about the users