Comment 21 for bug 995445

Revision history for this message
Andreas Moog (ampelbein) wrote : Re: package gpsmanshp 1.2.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Ok, some investigation produced this problem:

andreas@incubator:~/devel/temp$ ldd *
debian-gpsmanshp.so:
 linux-vdso.so.1 => (0x00007fffdc4c4000)
 libshp.so.1 => /usr/lib/libshp.so.1 (0x00007f71febd3000)
 libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0x00007f71fe90c000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f71fe54c000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f71fe348000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f71fe12b000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f71fde2e000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f71ff000000)
ubuntu-gpsmanshp.so:
 linux-gate.so.1 => (0xf77d9000)
 libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf760c000)
 /lib/ld-linux.so.2 (0xf77da000)

When building gpsmanshp with --no-as-needed (like in debian), the library dependencies are correct, even in Ubuntu.