LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 0
Unhappy 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
 
Old 03-22-2012, 11:50 PM   #2
wedz
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
 
  


Reply

Tags
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 03:27 PM
static linking in gcc lavixu Linux - Newbie 1 11-27-2009 08:07 AM
static and dynamic linking zb10948 Programming 1 04-27-2009 04:48 AM
Cross-Compiling DLLs with Mingw32- Linking a Static Library KrayZier Programming 1 01-24-2007 06:52 PM
static linking in debian? clydemaxwell Debian 0 01-10-2007 01:28 PM


All times are GMT -5. The time now is 02:15 PM.

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