Re: Clang cannot finds standard system lib libssl.a

2013-05-31 Thread Eduardo Morras
On Fri, 31 May 2013 16:12:24 +0200 Tijl Coosemans wrote: > > CRYPTO_num_locks is in libcrypto so try linking with that in addition > to libssl. > Now i works, thanks a lot!! Forgot to add -Xlinker /usr/lib/libcrypto.a and -Xlinker /usr/lib/libpthread.a Now everything works as expected. Bytes

Re: Clang cannot finds standard system lib libssl.a

2013-05-31 Thread Tijl Coosemans
On 2013-05-31 15:26, Eduardo Morras wrote: > I'm trying to compile a single big file project written in C. It > compiled fine, without problems in my develop machine (FreeBSD 9.1 > STABLE, Clang3.2) but not on the server (FreeBSD 9.1 Release#0, Clang > 3.1). The app uses openssl dtls and links to s

Clang cannot finds standard system lib libssl.a

2013-05-31 Thread Eduardo Morras
Hi, I'm trying to compile a single big file project written in C. It compiled fine, without problems in my develop machine (FreeBSD 9.1 STABLE, Clang3.2) but not on the server (FreeBSD 9.1 Release#0, Clang 3.1). The app uses openssl dtls and links to system ssl libs. Am I missing something? F