|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1812600 ] curl-config --libs doesn't show required libraries
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 22 Oct 2007 02:03:21 -0700
Bugs item #1812600, was opened at 2007-10-13 01:01
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
The bug is in configure.ac line 197 which is:
if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno
IF we build a shared lib and do not link all deplibs, than REQUIRE_LIB_DEPS should be yes.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
ok, so I consider this report to be known_bugs #31 and I close it now
----------------------------------------------------------------------
Comment By: Juergen (juedau)
Message:
Yep, libcurl was build with both types of libraries. Using pkg-config
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Message:
Did you build your libcurl with --enable-shared (the default)? curl-config
To get around it, you can use pkg-config instead of curl-config. The
----------------------------------------------------------------------
Comment By: Juergen (juedau)
Message:
The problem is that I try to link a static binary, see attached
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Message:
On many system, -lcurl is all you need to link an app with curl. Linking
----------------------------------------------------------------------
Comment By: Juergen (juedau)
Message:
$:> curl-config --libs
IMO this should be something like:
I recognized this issue while trying to compile darcs, config.log
Until 7.16.2 curl-config's output is what I expect.
File Added: config.log
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Message:
Both enable_shared and link_all_deplibs are set by libtool, and the logic
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info