cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error with Static Linking

From: Kamil Porembinski <paszczak_at_thecamels.org>
Date: Fri, 18 May 2007 20:03:08 +0000

I solved this problem adding: -lcurl -lidn -ldl -lz -static

g++ main.o uptime.o meminfo.o cpuinfo.o qbs.o update.o
kernel.o -lcurl -lidn -ldl -lz -static -o sysinfo-static

Why curl-config --libs don't add this parameters?
Received on 2007-05-18