[Libssh] Staticaly linked and still require DLL?
Keisial
keisial at gmail.com
Wed Mar 25 15:26:04 CET 2009
Stingray a écrit:
> bodik a écrit :
>
>> just a try: some day I had a similar issue. It was due to order of -Lxyx on cmd
>> line. I shuffled them up a bit and finally got working build ... it was another
>> project on linux, but i was also building static app ..
>>
>> bodik
>>
>> b
>>
>>
> Bodik, I add tried linking with libwsock32 instead of libws2_32 and it
> worked but after reading your mail I noticed that libws2_32 was first in
> line and when I put lwsock32 it was last, so i tried to put libws2_32
> back in but at the end and it worked.
>
> Thanks
Yes, gcc is a bit picky with it. libssh needs winsock, and also libeay32
or libssl, so winsock must appear after them.
More information about the Libssh
mailing list