Maintained by: NLnet Labs

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

Ondřej Surý
Wed May 13 19:26:18 CEST 2009


On Wed, May 13, 2009 at 18:04, Hauke Hoffmann
<kontakt at hauke-hoffmann.net> wrote:
> On Wednesday 13 May 2009 16:36:55 Gabriel Petrescu wrote:
>> Hi!
>>
>> running command: unbound-host 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
>
> Hi Gabriel,
>
> just run the programm with
> $ strace <your_binary>
> and look at the output. (If you have no idea, mail the strace-output)

Hauke, sorry, but this doesn't make a sense at all. In case of dynamic
library missing, the program stops before doing anything at all (apart
from searching for a dynamic libraries).

And here libunbound.so.0 is missing, which you don't have to use strace at all.

Usefull tool in this case would be:

ldd <binary>

which prints dynamic libraries mappings.

But as many before said - it's likely problem of installation of
library to place where linux dynamic linker is not aware of it (ie.
/usr/local/lib).

Ondrej
-- 
Ondřej Surý <ondrej at sury.org>
http://blog.rfc1925.org/