Using the Berkeley DB

Andrew Farris flyindragon1 at aol.com
Thu Oct 1 00:09:58 UTC 2009


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.

Hope that helps!

-- 
Andrew
_____________________________
Registered Linux User: 473690
Registered Ubuntu User: 22747





More information about the ubuntu-users mailing list