Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-22-2012, 08:02 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 12

Rep: Reputation: 0
Unhappy Compiling wget with static linking, unable to link openssh


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

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

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, if you're a member, and want to get some points...
Old 03-22-2012, 10:50 PM   #2
LQ Newbie
Registered: Jun 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Uh oh, looks like it was just a typo... not ssH but ssL.
difficult to read your own text

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


linking, openssh, static, wget

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Static linking vs. dynamic linking? posix_memalign Programming 13 04-18-2010 02:27 PM
static linking in gcc lavixu Linux - Newbie 1 11-27-2009 07:07 AM
static and dynamic linking zb10948 Programming 1 04-27-2009 03:48 AM
Cross-Compiling DLLs with Mingw32- Linking a Static Library KrayZier Programming 1 01-24-2007 05:52 PM
static linking in debian? clydemaxwell Debian 0 01-10-2007 12:28 PM

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration