code-google-com / raspberrypi-openwrt

Automatically exported from code.google.com/p/raspberrypi-openwrt
GNU General Public License v2.0
0 stars 0 forks source link

Building Curl results in an error. [v7.23.1]. #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When building curl (v7.23.1) from feeds/packages/libs/curl it gives an error 
that
it can't find librt.so.1.

Error message:
Package libcurl is missing dependencies for the following libraries:
librt.so.1

Original issue reported on code.google.com by flump...@gmail.com on 5 Feb 2013 at 3:12

GoogleCodeExporter commented 9 years ago
Fix is to add the librt too the dependency list of curl.

change the following within the Makefile of curl 
(feed/packages/libs/curl/Makefile).
DEPENDS:=+libopenssl +zlib
to
DEPENDS:=+libopenssl +zlib +USE_EGLIBC:librt

Solution is also given in the forums of openWrt. see 
https://forum.openwrt.org/viewtopic.php?id=38592

Original comment by flump...@gmail.com on 5 Feb 2013 at 3:17