hi,

i just did a sysupgrade to the next snapshot and now ld depends on
libpthread 27.1, even though i have 27.0 installed:

```
lorenz@~/src/hare/hare % ldd `which ld`
/usr/bin/ld:
warning: libpthread.so.27.0: minor version >= 1 expected, using it anyway
        Start            End              Type  Open Ref GrpRef Name
        0000000000200000 00000000033d1000 exe   2    0   0      /usr/bin/ld
        00000002da491000 00000002da57d000 rlib  0    1   0      
/usr/lib/libc++.so.9.0
        00000002275fa000 0000000227641000 rlib  0    2   0      
/usr/lib/libc++abi.so.6.0
        00000002b2749000 00000002b2756000 rlib  0    1   0      
/usr/lib/libpthread.so.27.0
        0000000251212000 0000000251243000 rlib  0    1   0      
/usr/lib/libm.so.10.1
        00000002e4a1c000 00000002e4b16000 rlib  0    1   0      
/usr/lib/libc.so.97.1
        00000002b4a85000 00000002b4a85000 ld.so 0    1   0      
/usr/libexec/ld.so

lorenz@~/src/hare/hare % readelf --dynamic /usr/bin/ld

Dynamic section at offset 0x3170980 contains 22 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc++.so.9.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc++abi.so.6.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.27.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.10.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.97.1]
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000007 (RELA)               0x2054e0

[...]

```
/usr/X11R6/lib/libEGL.so.2.0 is another libary that depends on the wrong
version.

can someone give me a hint at what i did wrong? i am still quite new to
openbsd. i am running an unmodified/unpatched version. thanks :-)

- lorenz

Reply via email to