Précédent   Forum des professionnels en informatique > Systèmes > Autres systèmes > Unix > Solaris
Solaris Forum d'entraide sur le système Solaris.
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 15/09/2011, 10h45   #1
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
Par défaut erreur sous solaris 10

Bonjours

je suis entraint d'installer un kit de payement sur mon serveur web , aprés l'installation des librairie adecoite j'ai ce message d'erreur que j'ai pas pu resoudre la cause:
Code :
1
2
3
4
5
6
#g++ traansact.cpp -o transact.cgi -lssl -lcrypto -lcurl

ld:fatal: library -lcurl:not found
ld:fatal:File processing errors. Noutput written to transact.cgi
collect2:ld returned 1 exit status
merci pour votre aide
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 11h13   #2
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Salut,

Oui la librairie curl n'est pas trouvée....

Tu dois donc installer le package curl si ce n'est pas déjà fait.

Tu trouveras le package pour solaris 10 ici

http://curl.haxx.se/download.html#Solaris
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 11h23   #3
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
mais j'ai ajouté le package curl 7.21.7 solaris sparc

# find / -name curl
/usr/local/doc/curl
/usr/local/bin/curl
/usr/local/include/curl
/data/opt/coolstack/curl
/data/opt/curl
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 11h45   #4
Membre Expert
 
Avatar de fregolo52
 
Homme
Développeur C
Inscription : août 2004
Messages : 1 458
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Développeur C

Informations forums :
Inscription : août 2004
Messages : 1 458
Points : 2 068
Points : 2 068
curl n'est pas dans le "path", 2 possibilités :

- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH;/usr/local/bin/curl (tient! y'a pas de répertoire lib !!!!)

- g++ traansact.cpp -o transact.cgi -L/usr/local/bin/curl -lssl -lcrypto -lcurl
fregolo52 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 11h45   #5
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Re,


Peux-tu fournir la liste des fichiers installés par le package curl en question?

Code :
1
2
pkgchk -lp /usr/local/bin/curl => tu auras le nom de package.
Ensuite

Code :
1
2
pkgchk -l <nom du package obtenu>
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 11h51   #6
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Citation:
Envoyé par fregolo52 Voir le message
curl n'est pas dans le "path", 2 possibilités :

- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH;/usr/local/bin/curl (tient! y'a pas de répertoire lib !!!!)

- g++ traansact.cpp -o transact.cgi -L/usr/local/bin/curl -lssl -lcrypto -lcurl

mmmh, il faut fournir un repertoire contenant des librairies pour les 2 options que tu proposes, pas le chemin vers un binaire....
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 11h52   #7
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
peut etre que le package curl peut dependre d'autre librairie qui ne sont pas installer non?
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/09/2011, 11h58   #8
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Citation:
Envoyé par t.n.b.g Voir le message
peut etre que le package curl peut dependre d'autre librairie qui ne sont pas installer non?

Peux-tu fournir le résultat des deux commandes que je t'ai demandées plus haut. J'aimerais savoir si les librairies curl se trouvent dans le package ou pas.
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 11h58   #9
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# pkgchk -lp /usr/local/bin/curl
Pathname: /usr/local/bin/curl
Type: regular file
Expected mode: 0755
Expected owner: bin
Expected group: bin
Expected file size (bytes): 132574
Expected sum(1) of contents: 7129
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed



#pkgchk -l SMCcurl

Expected file size (bytes): 6866
Expected sum(1) of contents: 55514
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_multi_socket_action.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 6816
Expected sum(1) of contents: 50855
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_multi_strerror.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 1683
Expected sum(1) of contents: 59889
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_multi_timeout.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 2954
Expected sum(1) of contents: 43883
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_share_cleanup.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 1801
Expected sum(1) of contents: 4492
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_share_init.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 1985
Expected sum(1) of contents: 21586
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_share_setopt.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 3496
Expected sum(1) of contents: 24363
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_share_strerror.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 1685
Expected sum(1) of contents: 59973
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_slist_append.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 2168
Expected sum(1) of contents: 37792
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_slist_free_all.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 1499
Expected sum(1) of contents: 43960
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_strequal.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 2299
Expected sum(1) of contents: 49139
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_unescape.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 2130
Expected sum(1) of contents: 33002
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_version.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 1528
Expected sum(1) of contents: 46400
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/curl_version_info.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 6312
Expected sum(1) of contents: 914
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/libcurl-easy.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 2323
Expected sum(1) of contents: 55451
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/libcurl-errors.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 12664
Expected sum(1) of contents: 64554
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/libcurl-multi.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 7268
Expected sum(1) of contents: 48272
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/libcurl-share.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 2983
Expected sum(1) of contents: 44872
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed

Pathname: /usr/local/share/man/man3/libcurl-tutorial.3
Type: regular file
Expected mode: 0644
Expected owner: bin
Expected group: bin
Expected file size (bytes): 62707
Expected sum(1) of contents: 52717
Expected last modification: Jul 09 06:24:33 2011
Referenced by the following packages:
        SMCcurl
Current status: installed
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 12h11   #10
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Ok, il ne semble pas y avoir tout l'output mais d'après ce lien, les librairies curl sont stockées dans /usr/local/lib

http://curl.haxx.se/mail/archive-200...8/curlinst.txt

Citation:
/usr/local/lib/libcurl.so <symbolic link>
/usr/local/lib/libcurl.so.3 <symbolic link>
/usr/local/lib/libcurl.so.3.0.0

Peux-tu voir si tu les retrouves bien à cet endroit?

Code :
1
2
find /usr/local/lib -name "*libcurl*"
Si elles sont bien là, il faudra vérifier si le répertoire /usr/local/lib est bien dans le LD_LIBRARY_PATH

Code :
1
2
echo $LD_LIBRARY_PATH
s'il n'apparait pas, il faudra l'ajouter

Code :
1
2
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
et relancer la compilation.
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 12h23   #11
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
Code :
1
2
3
4
5
6
7
8
9

 # find /usr/local/lib -name "*libcurl*"
/usr/local/lib/pkgconfig/libcurl.pc
/usr/local/lib/libcurl.a
/usr/local/lib/libcurl.la
/usr/local/lib/libcurl.so
/usr/local/lib/libcurl.so.4
/usr/local/lib/libcurl.so.4.2.0
Code :
1
2
3
4

 # echo $LD_LIBRARY_PATH
/usr/openwin/lib
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 12h26   #12
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
oui voilà,

donc il faut ajouter /usr/local/lib a ta variable d'environnement comme je te l'ai indiqué plus haut.

Code :
1
2
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 12h31   #13
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
Code :
1
2
3
 # g++ transact.cpp -o transact.cgi -lssl -lcrypto -lcurl
bash: g++: command not found
je crois que je l'ai compiler dans le mauvais endroit
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/09/2011, 12h43   #14
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
mmmh

là il ne trouve pas/plus la commande g++, tu es sûr que tu n'as pas modifié autre chose que la variable LD_LIBRARY_PATH?

Que donne les commandes suivantes

Code :
1
2
env | egrep -i 'ld_library_path|path'
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 14h12   #15
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
Code :
1
2
3
4
5
6
7
8
9
 
# find / -name "g++"
  /usr/sfw/bin/g++

 # env | egrep -i 'ld_library_path|path'
LD_LIBRARY_PATH=/usr/openwin/lib
MANPATH=:/usr/share/man:/opt/SUNWexplo/man:/opt/SUNWsneep/man
PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Ultra-250/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 14h55   #16
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Bein Comme tu peux le voir

le repertoire /usr/sfw/bin n'est pas dans la variable PATH, c'est pour ça qu'il ne trouve pas ta commande.

Donc

Soit tu tapes le chemin complet avec les paramètres de compilation

Code :
1
2
/usr/sfw/bin/g++ ........
soit tu ajoutes le répertoire /usr/sfw/bin à ton PATH et tu pourras taper g++ où que tu sois.

Code :
1
2
3
export PATH=$PATH:/usr/sfw/bin
g++ ........
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/09/2011, 15h07   #17
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
le même problème !!!

Code :
1
2
3
4
5
 # /usr/sfw/bin/g++ transact.cpp -o transact.cgi -lssl -lcrypto -lcurl
ld: fatal: library -lcurl: not found
ld: fatal: File processing errors. No output written to transact.cgi
collect2: ld returned 1 exit status
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 15h09   #18
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Citation:
# env | egrep -i 'ld_library_path|path'
LD_LIBRARY_PATH=/usr/openwin/lib
Il faut ajouter /usr/local/lib au LD_LIBRARY_PATH!!!!!!!!
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 16h30   #19
Débutant
 
Avatar de t.n.b.g
 
Homme
Étudiant
Inscription : janvier 2008
Messages : 236
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : janvier 2008
Messages : 236
Points : 65
Points : 65
Envoyer un message via ICQ à t.n.b.g Envoyer un message via MSN à t.n.b.g Envoyer un message via Yahoo à t.n.b.g Envoyer un message via Skype™ à t.n.b.g
maintenant j'ai ca:

Code :
1
2
3
4

 # /usr/sfw/bin/g++ transact.cpp -o transact.cgi -lssl -lcrypto -lcurl
g++: transact.cpp: No such file or directory
__________________
cours
faq
t.n.b.g est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 16h32   #20
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
mmmmmh.

Je vais te laisser un peu réfléchir....
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 02h03.


 
 
 
 
Partenaires

Hébergement Web