|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
GDB Debugging find dynamic link library Debugging with GDB procedures suggested find the dynamic running, but has set LD_LIBRARY_PATH full of gold, and procedures outside the LINUX operating ah can you help us to see
Zhang@dehmelt-345 env|grep LD :
LD_LIBRARY_PATH=/home/wzhang/solarisporting/sdk/3.0/sparc-sol8-32/lib
Zhang@dehmelt-347 : 1s $LD_LIBRARY_PATH
LibACE.so libicuuc.so.32 libvem.so
LibACE.so.5.4.4 liblog4cxx.so libxerces-c.so
Libicudata.so liblog4cxx.so.9 libxerces-c.so.26
Libicudata.so.32 libsec.so libxml2.so.2
Libicui18n.so libsoam_resources.so sec_soam_default.so
Libicui18n.so.32 libsoambase.so
Libicuuc.so libSoamDefaultSecurity.so
Zhang@dehmelt-346 : LINUX SyncClient
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
Welcome to change it 和 / 或 distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8." . .
(Gdb) r
Starting program : /home/wzhang/solarisporting/sdk/3.0/samples/CPP/output/SyncClient
Ld.so.1 : /home/wzhang/solarisporting/sdk/3.0/samples/CPP/output/SyncClient : fatal : libsoambase.so : open failed : No such file or directory
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
|
| |