[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about GDB/DDD
From: |
Vakayil Thobias |
Subject: |
Re: Question about GDB/DDD |
Date: |
Mon, 21 Jan 2008 13:30:31 +0530 |
"Neo" <zingafriend@yahoo.com> wrote in message
3dee0253-5fa3-4f67-93eb-0e5fb2677531@i72g2000hsd.googlegroups.com">news:3dee0253-5fa3-4f67-93eb-0e5fb2677531@i72g2000hsd.googlegroups.com...
> Hi,
> I am trying to debug a piece of code which is giving the error as
> 'illegal instruction' when executed. But I am having trouble while
> using GDB or DD because of this error-
> "loading shared libraries: libstdc++.so.6: cannot open shared object
> file: No such file or directory"
> I have the path to the above shared lib in my LD_LIBRARY_PATH but gdb/
> dd doesn't seem to get it, what could be the reason?
> Can't this library be linked statically because I think it is only the
> std io and string libs in my code which needs it.
>
> Thanks,
> Neo
May be the os version which is used for building the libstdc++.so.6 might be
different.
So please check that.