strange behavior of ldconfig (is it?)

Hi all!

I need to install an application that needs libcrypto.so.4 and, reading through the internet I understood that all I can do with my opensuse 11.1 is creating a symlink to /usr/lib/libcrypto.so.0.9.7.

in /usr/lib I have:

ls -ls libcrypto*

34356 -rw-r–r-- 1 root root 35137718 2009-10-07 08:59 libcryptopp.a
1172 -rwxr-xr-x 1 root root 1194320 2009-04-16 17:14 libcrypto.so.0.9.7
1428 -r-xr-xr-x 1 root root 1455700 2009-06-09 14:59 libcrypto.so.0.9.8

then I did
ln -sf /usr/lib/libcrypto.so.0.9.7 libcrypto.so.4

and obtained as expected:

0 lrwxrwxrwx 1 root root       27 2009-10-16 12:48 libcrypto.so.4 -> /usr/lib/libcrypto.so.0.9.7

But look at this:

ldconfig -v | grep crypto

    libcrypto.so.0.9.8 -> libcrypto.so.0.9.8
    libk5crypto.so.3 -> libk5crypto.so.3.1
    libcrypto.so.0.9.7 -> libcrypto.so.4

I would have expected

    libcrypto.so.4 -> libcrypto.so.0.9.7

and actually, when I explore the cache:

ldconfig -p | grep crypto

libcrypto.so.0.9.8 (libc6) => /usr/lib/libcrypto.so.0.9.8
libcrypto.so.0.9.7 (libc6) => /usr/lib/libcrypto.so.0.9.7

no trace of libcrypto.so.4 …

So, what I do wrong? I used to do the same with opensuse 10.2 and it worked as I wanted.

Thank you all in advance for your help.

Mauro

Got the same issue >:( any idea and did you get it fixed ?