Haralds advice solved the problem:

echo "/usr/local/lib/" > /etc/ld.so.conf.d/usr-local-lib.conf
chmod 0644 /etc/ld.so.conf.d/usr-local-lib.conf
ldconfig

many thanks

Am 23.05.2017 um 16:35 schrieb Eero Volotinen:
I think that dynamic linker does not find library. configure your ldpath ..

Eero

2017-05-23 17:10 GMT+03:00 Brandon Perry <bperry.volat...@gmail.com>:

> On May 23, 2017, at 9:04 AM, Dehm, Jochen <jochen.d...@freenet.de> wrote:
>
> I want to use a 2nd server  to control my OpenVAS server via omp.
>
> After building openvas-libraries and openvas-cli from the source, I get the following error:
>
> root@sv-idoit ~ # omp
> omp: error while loading shared libraries: libopenvas_omp.so.8: cannot open shared object file: No such file or directory
>
> root@sv-idoit ~ # which omp
> /usr/local/bin/omp
>
> The file is however available:
>
> root@sv-idoit ~/OpenVAS/openvas-cli-1.4.5/build # locate libopenvas_omp.so.8
> /root/OpenVAS/openvas-libraries-8.0.8/build/omp/libopenvas_omp.so.8
> /root/OpenVAS/openvas-libraries-8.0.8/build/omp/libopenvas_omp.so.8.0.8
> /usr/local/lib/libopenvas_omp.so.8
> /usr/local/lib/libopenvas_omp.so.8.0.8


Either set your —prefix=/usr when configuring (before compiling) so that make install installs to /usr instead of /usr/local.

Or, for immediate gratification.

export PATH=$PATH:/usr/local
omp —help

>
> Someone an idea what was wrong?
>
> Regards Joed
> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to