libprotobuf.so.9: cannot open shared object file: No such file or directory

5,315 views
Skip to first unread message

weixu...@gmail.com

unread,
Sep 26, 2016, 1:22:52 AM9/26/16
to ostinato
Tried to run Ostinato from the Command line on CentOS 6.8 and received this error output.

[root@Host-002 ~]# ostinato
ostinato: error while loading shared libraries: libprotobuf.so.9: cannot open shared object file: No such file or directory


Compiling the source code had no issues (no error outputs), installed the relevant packages ("Development Tools", libpcap-devel, gcc-c++, qt, qt-devel, libprotoc)
Compiled and installed protobuf-2.6.0 from source code.

Did a search to see if "libprotobuf.so.9" exists on the machine

[root@Host-002 ~]# locate libprotobuf.so.9
/home/user/Downloads/protobuf-2.6.0/src/.libs/libprotobuf.so.9
/home/user/Downloads/protobuf-2.6.0/src/.libs/libprotobuf.so.9.0.0
/usr/local/lib/libprotobuf.so.9
/usr/local/lib/libprotobuf.so.9.0.0


Any idea what's the problem?

Thanks!

Carlos G Mendioroz

unread,
Sep 26, 2016, 6:54:49 AM9/26/16
to ostinato
Given that the library is there, it would seem that the dynamic linker
does not know. It may be that the cache builder has not run after the
library was installed or that /usr/local/lib is not in the library path.

Try running ldconfig and see if that fixes it. Or ldconfig -p to see if
the library is there. Either way, "man ldconfig" may help.

-Carlos
[copy to the list FTR]

weixu...@gmail.com @ 25/09/2016 13:36 -0300 dixit:
> --
> Get Ostinato News and Updates on Twitter - Follow @ostinato
> (http://twitter.com/ostinato)
> ---
> You received this message because you are subscribed to the Google
> Groups "ostinato" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ostinato+u...@googlegroups.com
> <mailto:ostinato+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
Carlos G Mendioroz <tr...@huapi.ba.ar> LW7 EQI Argentina
Reply all
Reply to author
Forward
0 new messages