[clamav-users] error while loading shared libraries

Reindl Harald h.reindl at thelounge.net
Sun Apr 15 17:56:49 UTC 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



Am 15.04.2018 um 17:45 schrieb Andreas Meyer:
> "Gary R. Schmidt" <grschmidt at acm.org> schrieb am 16.04.18 um
> 00:48:10 Uhr:
> 
>>>> 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.
>>> and youd did call "ldconfig"?
>> No, the OpenSUSE system is basically as it came out of the box,
>> and given that /etc/ld.so.conf contains /usr/local/lib64 by
>> default I am surprised that ldconfig would be needed.
> 
> hmmm, after a ldconfig freshclam and clamd are running again. 
> strange...

there is nothing strange

https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets

Summary
For many years, package maintainers were required to write scriptlets
which call ldconfig in %post/%postun if they package shared libraries

if you don't call it within a apckage after install you are supposed
to do it manually, that's nothing new and everything which works
without is just by luck

the ldconfig cache did not know about the file which was new after
"make install"

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEnStGzbwUCjZ1OuTXMxdNWliSt7gFAlrTkmEACgkQMxdNWliS
t7jAlwwAudKFWwSxkFuN2BSDNYnqQopmPFpqESiC8RzHl32R8USD1FOCKNc3+Qc5
7MQFzkXZxTfbU8Ohqfh7iaN54/ffD1N+C0C04m/Js8F3lx8PXP8Z0mnCcZ6IElrG
RBs72zgP/YueGxtGHL7MXfwt/Pa0OmKPa0mltJ1PgZXQ+ZdPJAqFK9wax0YOa1pB
CBBQJY0QlPMZT6UbjZR09hsNvtJ4OgGhF1BkBCTpUCzAg8cXHV/5yf0cGVUJX3+z
ILB3y85DNA5gZ+Y+VbNPoF1831l+B9+s4+5zbSHP0t/E6hUeFPpS9Xwq09hr+SzP
GdxAeOSrMT8ES86+MqIwlrzQx91CarNU/aF1QGj7dyOU50g9smttKXqRJf7yXj48
Cib6G2RX1c1bCUTNBcyFSeIvSW6g5htvs3IBfIYRwTDxrUfhTgoLRklwPQPk8tOG
t3Zi2085MDGwcaqaXtwgrqQPLojH1vsvDJaunvWQxKlCeVihCrNLzcHQlpdjTZ2o
cHUxB/fy
=PpqW
-----END PGP SIGNATURE-----



More information about the clamav-users mailing list