Using the Berkeley DB

Jan malepatus at googlemail.com
Thu Oct 1 12:55:11 UTC 2009


Chris Mohler wrote:
> On Wed, Sep 30, 2009 at 7:09 PM, Andrew Farris <flyindragon1 at aol.com> wrote:
>   
>> On Wed, 2009-09-30 at 23:32 +0200, Jan wrote:
>>     
>>> But when I try to open the programm, using ./dbApp, following error
>>> occurs:
>>>
>>> ./dbApp: error while loading shared libraries: libdb_cxx-4.8.so:
>>> cannot
>>> open shared object file: No such file or directory
>>>
>>> What does that mean?
>>>       
>> The .so shared-object couldn't be found. I've seen that a lot of
>> programs like this are designed to be run from the standard places
>> (like /usr/bin/). It could be that it's trying to look for the shared
>> library via relative paths instead of absolute, so it's not finding it.
>>
>> More likely, in my mind, is that the .so object doesn't exist. I believe
>> you could do a "whereis libdb_cxx-4.8.so" in the terminal to confirm
>> this. If it's not there, then you may need to install another package,
>> or compile it yourself.
>>     
>
> My guess is that it exists, but is not found (not in the standard
> path) - you could put a symlink into /usr/lib or /usr/local/lib and it
> should pick it up.
>
> Chris
>
>   
Wow, the solution of Chris works!

Thank you very much!

But in another Forum I read, that putting a symlink wouldn't be the best 
solution for solving this problem. What do you think of that?




More information about the ubuntu-users mailing list