[clamav-users] error while loading shared libraries
Gary R. Schmidt
grschmidt at acm.org
Sun Apr 15 14:02:00 UTC 2018
On 15/04/2018 22:56, Andreas Meyer wrote:
> Hello!
[SNIP}
>
> I did not specify any configure options.
>
[SNIP]
> Libraries have been installed in:
> /usr/local/lib64
>
> When I call freshclam I get:
> ./freshclam: error while loading shared libraries: libclammspack.so.0: cannot open shared object file: No such file or directory
>
Hmm, I just built it on an OpenSUSE system (I mainly use Solaris), and
had the same problem. Which is interesting as /etc/ld.so.conf contains
/usr/local/lib64, so it should find libclammspack.so.0 there.
Of course, specifying "LD_LIBRARY_PATH=/usr/local/lib64" fixes things,
but it shouldn't be needed...
I'm guessing that configure is doing something weird, like setting bogus
elements in libtool, and will leave it for those who know what they did,
and why, to look into this.
Cheers,
Gary B-)
More information about the clamav-users
mailing list