Maintained by: NLnet Labs

[Unbound-users] error while loading shared libraries: libunbound.so.0

Jelte Jansen
Wed May 13 18:15:29 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gabriel Petrescu wrote:
> Hi!
> 
> running command: unbound-host mtv.com <http://mtv.com>
> 
> i've got:
> unbound-host: error while loading shared libraries: libunbound.so.0:
> cannot open shared object file: No such file or directory
> 
> do you have any ideea?
> 
> I am running an ubuntu, fresh installed, no zone configured yet.
> 
> dig mtv.com <http://mtv.com> is working
> 

i'm guessing that you installed from source? (the unbound-host package in ubuntu
should have a dependency on the libunbound0 package)

By default, the unbound library is installed in /usr/local/lib if you do 'make
install'. However, I think that Ubuntu does not have this in its default paths
to look for libraries.

You can test this by entering
LD_LIBRARY_PATH=/usr/local/lib unbound-host
on the command line.

If so, you could either add /usr/local/lib to your standard LD_LIBRARY_PATH
configuration, or tell the build scripts to install it in /usr, by doing
./configure --prefix=/usr
make
sudo make install

In this case the library should be installed in the same location where the
libunbound0 package would put it.

Hope this helps,

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoK8iEACgkQ4nZCKsdOncVybgCgq14kvtd7hxBFMb7C2u9ayZJT
15UAn38JBhX3Jl4fnkILSG7FxzBjCU57
=BJ0n
-----END PGP SIGNATURE-----