cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] compiling curlpp error

From: Gazi Alankus <alanic_at_gmail.com>
Date: Sun, 19 Aug 2007 11:05:09 -0500

I think you should find a zlib package with libz.dll.a

-Gazi

On 18/08/07, Joel Stephens <esgeroth_at_gmail.com> wrote:
> ok here are the commands I am now using.
>
> cd /g/programming/libs/curlpp-0.7.0
> export PATH="$PATH:/g/programming/libs/libcurl-7.16.4/bin"
> export
> CPPFLAGS="-I/g/programming/libs/libcurl-7.16.4/include"
> export
> LDFLAGS="-L/g/programming/libs/libcurl-7.16.4/lib:/g/programming/libs/zlib123/lib"
> ./configure
> make
>
> In lubcurl-7.16.4/lib folder are these files:
> libcurl-4.dll, libcurl.dll.a, libcurl.a , libcurl.la
>
> In zlib123/lib folder are these files:
> libz.a, zdll.lib, zdll.exp, zlib.def
>
> I get these warnings:
>
> *** Warning: linker path does not have real file for library -lcurl.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libcurl but no candidates were found. (...for file magic test)
>
> *** Warning: linker path does not have real file for library -lz.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libz and none of the candidates passed a file format test
> *** using a file magic. Last file checked:
> c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../libwinmm.a
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
>
> *** Since this library must not contain undefined symbols,
> *** because either the platform does not support them or
> *** it was explicitly requested with -no-undefined,
> *** libtool will only create a static version of it.
>
> And this near the end:
>
> c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -lcurl
>
>
>
>
> _______________________________________________
> cURLpp mailing list
> cURLpp_at_rrette.com
> http://www.rrette.com/mailman/listinfo/curlpp
>
>
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2007-08-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET