我正在尝试从控制台开始调试我的应用程序。
> gdb ./Geod
然后在 gdb
(gdb) run
我得到输出:
error while loading shared libraries: libGeo.Cored.so.1:
cannot open shared object file: No such file or directory
系统配置如下:
> echo $LD_LIBRARY_PATH
/home/paceholder/projects/geo/lib/debug
> ls $LD_LIBRARY_PATH
libGeo.Cored.so.1.0.0
libGeo.Cored.so
libGeo.Cored.so.1
libGeo.Cored.so.1.0
(gdb) show solib-search-path
The search path for loading non-absolute shared library symbol files is
/home/paceholder/projects/geo/lib/debug.