Linking dynamic libs in DDD/GDB



 DEVELOP > c-Plus-Plus > Linking dynamic libs in DDD/GDB

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "Neo"
Date: 17 Jan 2008 09:45:30 AM
Object: Linking dynamic libs in DDD/GDB
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
.

User: "red floyd"

Title: Re: Linking dynamic libs in DDD/GDB 17 Jan 2008 10:47:13 AM
Neo wrote:

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.

Wrong group. Try gnu.g++.help.
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER