[so] [Tema 2][Linux] Apelare functii decrypt_*
Bogdan Ivanov
ivn_bogdan at yahoo.com
Tue Mar 27 16:46:04 EEST 2012
>> Adauga -L. cand compilezi
> Am incercat si asa:
> gcc -Wall gateway.o common.o -o gateway -lrt -lcrypto -L.
> si obtin eroarea:
> /usr/bin/ld: skipping incompatible ./libcrypto.so when searching for -lcrypto
Bine, o problema a mea era ca nu stiu de ce dar incercam sa adaug lcrypto la gateway, nu la server unde aveam defapt nevoie de decrypt.
Dar si apelata in server am aceeasi problema:
gcc -Wall -lrt -L. -lcrypto -o server server.o common.o
/usr/bin/ld: skipping incompatible ./libcrypto.so when searching for -lcrypto
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20120327/321e1797/attachment-0001.htm>
More information about the so
mailing list