[uClibc] compiling curl against uClibc

Erik Andersen andersen at codepoet.org
Tue Mar 30 06:18:55 UTC 2004


On Mon Mar 29, 2004 at 10:29:08AM -0800, Luis Marquez wrote:
> Hello everyone,
> 
> I am trying to get curl to compile against uclibc and I keep running 
> into problems. Has anyone had any luck with it? Curl seems to finish 
> compiling, but when I try to run the executable I get errors saying "not 
> found" like it is trying to load a library and can't find it. I've tried 
> symlinking libc.so.6 to curl's libc.so.0 without any success. from the 
> output of ldd it looks like curl is still being partially built against 
> my system C library and not uClibc.
> 
> libc.so.0 > /lib/libc.so.0
> libcurl.so.2 => /usr/local/lib/libcurl.so.2
> libdl.so.2 => /lib/libdl.so.2
> libc.so.6 => /lib/libc.so.6
> /lib/ld.so.1 => /lib/ld.so.1
> 
> I have modified the Curl makefiles with the following:
> 
> LDFLAGS = -nostdlib

Why did you do that?  What version of uClibc are you using?
What architecture?  Where did you get your toolchain?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list