LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling wget with static linking, unable to link openssh (https://www.linuxquestions.org/questions/linux-software-2/compiling-wget-with-static-linking-unable-to-link-openssh-935964/)

wedz 03-22-2012 08:02 PM

Compiling wget with static linking, unable to link openssh
 
Hi,

I have a linux box, that is running a very limited kernel, and I need to use wget there.
For this purpose, I'm trying to compile it with static linking. The compilation seems ok, but when trying to add SSL support with openssh, I seem to run into linking issues...

As this setup is missing also ssh, I am compiling the openssh. The compilation of openssh seemed to go ok, and this is the content of /usr/local/ssh/lib

Code:

/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 wget compilation:

Code:

wget-1.13> env LDFLAGS="-L/usr/local/ssh/lib" ./configure --with-ssl=openssl
.....
configure: error. openssl development libraries not found

Any ideas what is going wrong ? Did the compilation of openssh not work as it should ? Do I point to a wrong dir ?

There is also a standing question in stackoverflow.com, if you're a member, and want to get some points...
http://stackoverflow.com/questions/9...y-linking-issu

wedz 03-22-2012 10:50 PM

Uh oh, looks like it was just a typo... not ssH but ssL.
difficult to read your own text :p

The full procedure can be seen in the stackoverflow link above if someone faces similar issue


All times are GMT -5. The time now is 03:06 AM.