[Gdal-dev] linker problem?

Jack Varga jvarga at boulder.net
Mon Jan 10 17:13:25 EST 2005


Has anyone ever seen this?  gdal use to run fine.  Now all of a sudden 
it drops core, (as does ogrinfo, qgis, and perhaps some others).  FWIW, 
Grass57(cvs) seems to still work fine.

I'm fairly certain its related to a problem with the dynamic loading of 
shared libs, but not sure how to rectify.

gdb reports...

$ gdb gdalinfo core.11057
GNU gdb 6.2-2mdk (Mandrakelinux)
This GDB was configured as "i586-mandrake-linux-gnu"...Using host 
libthread_db
library "/lib/tls/libthread_db.so.1".

Core was generated by `gdalinfo --version'.
Program terminated with signal 8, Arithmetic exception.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/local/lib/libgdal.so.1...done.
Loaded symbols for /usr/local/lib/libgdal.so.1
Reading symbols from /usr/local/lib/libgeos.so.2...done.
Loaded symbols for /usr/local/lib/libgeos.so.2
Reading symbols from /usr/local/lib/libodbc.so.1...done.
Loaded symbols for /usr/local/lib/libodbc.so.1
Reading symbols from 
/usr/local/xerces-c-src_2_6_0/lib/libxerces-c.so.26...done
.
Loaded symbols for /usr/local/xerces-c-src_2_6_0/lib/libxerces-c.so.26
Reading symbols from /usr/local/lib/libogdi31.so...done.
Loaded symbols for /usr/local/lib/libogdi31.so
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/local/lib/libgeotiff.so...done.
Loaded symbols for /usr/local/lib/libgeotiff.so
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng.so.3...done.
Loaded symbols for /usr/lib/libpng.so.3
Reading symbols from /usr/local/lib/libgrass5.so.0...done.
Loaded symbols for /usr/local/lib/libgrass5.so.0
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/libssl.so.0.9.7
Reading symbols from /usr/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libpq.so.3...done.
Loaded symbols for /usr/lib/libpq.so.3
Reading symbols from /usr/lib/libmysqlclient.so.12...done.
Loaded symbols for /usr/lib/libmysqlclient.so.12
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/local/lib/libzlib_ogdi31.so...done.
Loaded symbols for /usr/local/lib/libzlib_ogdi31.so
Reading symbols from /usr/local/lib/libexpat_ogdi31.so...done.
Loaded symbols for /usr/local/lib/libexpat_ogdi31.so
Reading symbols from /usr/local/lib/libproj.so.0...done.
Loaded symbols for /usr/local/lib/libproj.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x40008358 in _dl_allocate_static_tls (map=0x40015c58) at dl-reloc.c:72
72      dl-reloc.c: No such file or directory.
         in dl-reloc.c
(gdb)




More information about the Gdal-dev mailing list