[NTLUG:Discuss] gdb acting up

saluki@hex.net saluki at hex.net
Wed Sep 13 16:36:30 CDT 2000


Ok, here's one I can't figure out.

I compile a program fine with g++ (ver 2.95.2), 

i.e. g++ -g -o <exe name> source.cc

except that it seg faults on me. No big deal(or so I thought), I figured I'd 
use gdb to find the problem and fix it -- however -- it gives me

ld.so.1: /home/code: fatal: libstdc++.so.2.10.0: open failed: No such file or 
directory

At first I thought that my path was setup wrong, so I did a 'show path' and 
sure enough, the correct path to the 'missing' library was in there.

I've got gdb-4.18. I don't think its a memory issue or anything like that, I'm 
thinking I'm missing an environment variable or have one setup wrong. 

don




More information about the Discuss mailing list