PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.cplus > Linking dynamic libs in DDD/GDB
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Linking dynamic libs in DDD/GDB

Réponse
 
LinkBack Outils de la discussion
Vieux 17/01/2008, 15h45   #1
Neo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Vieux 17/01/2008, 16h47   #2
red floyd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Linking dynamic libs in DDD/GDB

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++..
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h01.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11008 seconds with 10 queries