#547 closed enhancement (implemented)
crash reporter assumes glibc in /lib
Reported by: | epruesse | Owned by: | epruesse |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | no idea | Version: | SVN |
Keywords: | arb6.0-hotfix | Cc: |
Description (last modified by epruesse)
[glibc start] ls: cannot access /lib/libc-*.so: No such file or directory ls: cannot access /lib/libc.so*: No such file or directory [glibc end]
How about just dumping the library dependencies like so:
case `uname` in Linux) LIST_DYNLIBS="ldd" BINARIES="bin/arb_ntree lib/libARBDB.so lib/libCORE.so lib/libWINDOW.so" ;; Darwin) LIST_DYNLIBS="otool -L" # Darwin ARB links internal stuff static BINARIES="bin/arb_ntree" ;; *) LIST_DYNLIBS="echo UNSUPPORTED_OS " ;; esac for binary in $BINARIES; do echo -e "Library dependencies for $ARBHOME/$binary:" $LIST_DYNLIBS $ARBHOME/$binary echo "" done
Change History (6)
comment:1 Changed 11 years ago by epruesse
- Description modified (diff)
- Owner changed from devel to westram
- Status changed from new to assigned
comment:2 Changed 11 years ago by epruesse
- Description modified (diff)
2nd try, script now actually works on linux and darwin
example output on linux:
Library dependencies for /home/epruesse/arb/trunk/bin/arb_ntree: linux-vdso.so.1 => (0x00007fffa4bf0000) libARBDB.so => /home/epruesse/arb/trunk/lib/libARBDB.so (0x00007f33e7c41000) libCORE.so => /home/epruesse/arb/trunk/lib/libCORE.so (0x00007f33e7982000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f33e7651000) libAWT.so => /home/epruesse/arb/trunk/lib/libAWT.so (0x00007f33e73e7000) libWINDOW.so => /home/epruesse/arb/trunk/lib/libWINDOW.so (0x00007f33e7168000) libXm.so.4 => /usr/lib/x86_64-linux-gnu/libXm.so.4 (0x00007f33e6cb0000) libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f33e6a4a000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f33e6746000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f33e6441000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f33e622b000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f33e5e63000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f33e5c23000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f33e5a06000) libXmu.so.6 => /usr/lib/x86_64-linux-gnu/libXmu.so.6 (0x00007f33e57ed000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f33e55da000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f33e52a5000) libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f33e5069000) libXft.so.2 => /usr/lib/x86_64-linux-gnu/libXft.so.2 (0x00007f33e4e53000) libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f33e4bfe000) libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f33e49d8000) libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f33e47cf000) libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f33e45b3000) /lib64/ld-linux-x86-64.so.2 (0x00007f33e8039000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f33e4394000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f33e4190000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f33e3eee000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f33e3cc3000) libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f33e3ab9000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f33e38a0000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f33e369a000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f33e3496000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f33e3290000) Library dependencies for /home/epruesse/arb/trunk/lib/libARBDB.so: linux-vdso.so.1 => (0x00007fff2810c000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f00fe636000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f00fe332000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f00fe11b000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f00fdd53000) /lib64/ld-linux-x86-64.so.2 (0x00007f00fed61000) Library dependencies for /home/epruesse/arb/trunk/lib/libCORE.so: linux-vdso.so.1 => (0x00007fffe9ffe000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5697765000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f569754f000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5697186000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5696e82000) /lib64/ld-linux-x86-64.so.2 (0x00007f5697d59000) Library dependencies for /home/epruesse/arb/trunk/lib/libWINDOW.so: linux-vdso.so.1 => (0x00007fff99dfe000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7085642000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f708533e000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7085127000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7084d5f000) /lib64/ld-linux-x86-64.so.2 (0x00007f7085bf6000)
on osx:
Library dependencies for /Users/mpimm/arb/arb-6-rc2/bin/arb_ntree: /Users/mpimm/arb/arb-6-rc2/bin/arb_ntree: /System/Library/Frameworks/GLUT.framework/Versions/A/GLUT (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0) /opt/local/lib/libXm.4.dylib (compatibility version 5.0.0, current version 5.4.0) /opt/local/lib/libpng15.15.dylib (compatibility version 32.0.0, current version 32.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) /opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0) /opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) /opt/local/lib/libXp.6.dylib (compatibility version 9.0.0, current version 9.0.0) /opt/local/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0) /opt/local/lib/libXi.6.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
comment:3 Changed 11 years ago by westram
- Status changed from assigned to _started
comment:4 Changed 11 years ago by westram
- Resolution set to implemented
- Status changed from _started to closed
by [12288]
comment:5 Changed 11 years ago by westram
- Owner changed from westram to epruesse
Note: See
TracTickets for help on using
tickets.
RFC