OpenWrt Forum Archive

Topic: Problems installing / using curl

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am using the newest OpenWrt version as of this posting.

Here are the sources I am using for ipkg:

src whiterussian http://downloads.openwrt.org/whiterussian/packages
src non-free http://downloads.openwrt.org/whiterussi … s/non-free
src backports http://downloads.openwrt.org/backports/rc5/
src X-Wrt http://download2.berlios.de/pub/xwrt/packages

dest root /
dest ram /tmp


I have installed the curl package via ipkg install curl and it terminated successfully. However, when I run curl from the console I get an error:

login as: root
root@192.168.1.1's password:


BusyBox v1.00 (2007.01.30-11:42+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
WHITE RUSSIAN (0.9) -------------------------------
  * 2 oz Vodka   Mix the Vodka and Kahlua together
  * 1 oz Kahlua  over ice, then float the cream or
  * 1/2oz cream  milk on the top.
---------------------------------------------------b
curl: can't load library 'libssl.so.0.9.7'

Any idea?

Any hints?!

BeSharp wrote:

curl: can't load library 'libssl.so.0.9.7'

should tell you everything you have to do.

forum2006 wrote:
BeSharp wrote:

curl: can't load library 'libssl.so.0.9.7'

should tell you everything you have to do.

Well, it kind of does. However, I don't know where I get the exact version of this lib and how to install it. Can you help here?

ipkg list '*ssl*'                      # should find a libopenssl package with the right version...
ipkg install libopenssl

this works with official wr release. i don't know if it works for you because you are using inoffical x-wrt which is not supported.

(Last edited by forum2006 on 17 Jun 2007, 13:35)

forum2006 wrote:
ipkg list '*ssl*'                      # should find a libopenssl package with the right version...
ipkg install libopenssl

this works with official wr release. i don't know if it works for you because you are using inoffical x-wrt which is not supported.

Here is the output of the ipkg list command:

BusyBox v1.00 (2007.01.30-11:42+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
WHITE RUSSIAN (0.9) -------------------------------
  * 2 oz Vodka   Mix the Vodka and Kahlua together
  * 1 oz Kahlua  over ice, then float the cream or
  * 1/2oz cream  milk on the top.
---------------------------------------------------

libgnutls-openssl - 1.0.25-0 - GNU TLS (OpenSSL compat library)
libmatrixssl - 1.2.4-1 - An embedded SSL implementation
libopenssl - 0.9.8d-2 - OpenSSL (Secure Socket Layer) libraries
libopenssl - 0.9.8d-1 - OpenSSL (Secure Socket Layer) libraries
lighttpd-mod-accesslog - 1.4.11-1 - Access logging module
mini-httpd-matrixssl - 1.19-1 - A small web server, built with SSL support using MatrixSSL
mini-httpd-openssl - 1.19-1 - A small web server, built with SSL support using OpenSSL
monit-nossl - 4.6-1 - System services monitoring utility, without SSL support
openssl-util - 0.9.8d-1 - OpenSSL (Secure Socket Layer) command line tool
openssl-util - 0.9.8d-2 - OpenSSL (Secure Socket Layer) command line tool
php4-mod-openssl - 4.3.11-2 - OpenSSL module
php5-mod-openssl - 5.0.5-1 - OpenSSL module
rrs-nossl - 1.70-1 - (without SSL support)
ssltunnel - 1.15-1 - A PPP over SSL vpn tool

Seems as if my sources do not contain any reference to the required version. Can you help out?

You simply installed the curl and libcurl from the rc5 backports (that are linked against the older libopenssl).
Change your ipkg.conf this way:

Uninstall curl and libcurl and install them again:

ipkg remove curl libcurl
ipkg install curl

This time it will be installed from the X-Wrt repository.

kebul wrote:

You simply installed the curl and libcurl from the rc5 backports (that are linked against the older libopenssl).
Change your ipkg.conf this way:

Uninstall curl and libcurl and install them again:

ipkg remove curl libcurl
ipkg install curl

This time it will be installed from the X-Wrt repository.

This did the trick - thanks so much!

The discussion might have continued from here.