Problem with mpkg-j2sdk and Sun j2sdk-1.4.2
Hello,
i've tried to build .debs from the lately released J2SDK-1.4.2
without success. I tracked down the problem to:
/home/micha/build# fakeroot ldd debian/j2sdk1.4/usr/lib/j2sdk1.4/jre/lib/i386/libnio.so
/usr/bin/ldd: line 1: 6663 Segmentation fault
LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW=
LD_LIBRARY_VERSION=$verify_out LD_VERBOSE=yes ${RTLD} "$file"
This is called from dpkg-shlibdeps and causes the build-process to fail.
Without fakeroot the command gives the correct output:
/home/micha/build# ldd debian/j2sdk1.4/usr/lib/j2sdk1.4/jre/lib/i386/libnio.so
libjava.so => not found
libnet.so => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x40011000)
libc.so.6 => /lib/libc.so.6 (0x40060000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
The fakeroot call with another library works:
/home/micha/build# fakeroot ldd debian/j2sdk1.4/usr/lib/j2sdk1.4/jre/lib/i386/libjava.so
libfakeroot.so.0 => /usr/lib/libfakeroot/libfakeroot.so.0 (0x40023000)
libjvm.so => not found
libverify.so => not found
libnsl.so.1 => /lib/libnsl.so.1 (0x40031000)
libdl.so.2 => /lib/libdl.so.2 (0x40044000)
libc.so.6 => /lib/libc.so.6 (0x40047000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
This is my environment:
libc6 2.3.1-16
dpkg-dev 1.10.10
fakeroot 0.7.3
mpkg-j2sdk 0.9
Any comments/solutions anybody ??
Thanks
Michael
Reply to: