Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222639 - net-libs/libopkele-0.3.2 fails to configure with LDFLAGS="-Wl,--as-needed"
Summary: net-libs/libopkele-0.3.2 fails to configure with LDFLAGS="-Wl,--as-needed"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-05-18 13:00 UTC by Samuli Suominen (RETIRED)
Modified: 2008-05-19 11:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2008-05-18 13:00:55 UTC
configure output,

checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.18.1
checking whether libcurl is usable... no
configure: error: no required libcurl library. get one from http://curl.haxx.se/

config.log output,

configure:20469: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=k8   -Wl,-O1,--as-needed -lcurl -lssl -lcrypto -lldap -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -O2 -pipe -march=k8 -Wl,-O1,--as-needed -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -O2 -pipe -march=k8 -Wl,-O1,--as-needed -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lssl -lcrypto -ldl -lz conftest.c  >&5
/var/tmp/portage/net-libs/libopkele-0.3.2/temp/ccTQ9nBh.o: In function `main':
conftest.c:(.text+0x10): undefined reference to `curl_easy_setopt'
collect2: ld returned 1 exit status
Comment 1 Michael Krelin 2008-05-18 18:31:12 UTC
Thanks, Samuli:

http://git.klever.net/view/cgit/kin/libopkele.git/patch/?id=89795a

This patch should apply fine to the libopkele-0.3.2 as well
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-05-19 11:07:15 UTC
thanks, appears to work.. (or it was using libcurl.m4 from system after autoreconf)