I'm trying to compile wget with static linking, but I'm running into a problem with ssl. My setup doesn't have ssl installed, so I had to compile it myself, it seemed to go ok, and this is the listing of /usr/local/ssh/lib:
/usr/local/ssl/lib> ls -la
total 2000
drwxr-xr-x 3 root root 4096 2012-03-22 14:28 .
drwxr-xr-x 9 root root 4096 2012-03-22 14:28 ..
-rw-r--r-- 1 root root 1752954 2012-03-22 14:28 libcrypto.a
-rw-r--r-- 1 root root 272388 2012-03-22 14:28 libssl.a
drw-r--r-- 2 root root 4096 2012-03-22 14:28 pkgconfig
When trying to configure the compilation:
wget-1.13> env LDFLAGS="-L/usr/local/ssh/lib" ./configure --with-ssl=openssl
.....
configure: error. openssl development libraries not found
Any hints what might be wrong ? I compiled openssl for linux-elf