Bug 843133 - Simple D program cannot link in Rawhide: "undefined reference to `curl_easy_setopt'"
Summary: Simple D program cannot link in Rawhide: "undefined reference to `curl_easy_s...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ldc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: MERCIER Jonathan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 842778
TreeView+ depends on / blocked
 
Reported: 2012-07-25 16:29 UTC by Richard W.M. Jones
Modified: 2012-07-26 17:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-26 17:15:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-07-25 16:29:54 UTC
Description of problem:

'avgtime' from https://github.com/jmcabo/avgtime

ldc2 avgtime.d
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_easy_setopt'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_global_cleanup'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_easy_init'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_slist_append'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_easy_pause'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_slist_free_all'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_easy_duphandle'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_easy_perform'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_easy_cleanup'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_global_init'
/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/libphobos-ldc.so: undefined reference to `curl_easy_strerror'
Error: linking failed:
status: 1
collect2: error: ld returned 1 exit status

Version-Release number of selected component (if applicable):

ldc-2-26.20120720git5f15b30.fc18.x86_64
ldc-druntime-2-26.20120720git5f15b30.fc18.x86_64
ldc-phobos-devel-2-26.20120720git5f15b30.fc18.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Compile avgtime.d program above.

Comment 1 Richard W.M. Jones 2012-07-25 16:30:32 UTC
Failed build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4328940

Comment 2 MERCIER Jonathan 2012-07-26 07:10:00 UTC
i will take a look thanks

Comment 3 MERCIER Jonathan 2012-07-26 14:12:26 UTC
should be fixed now with the newest release

Comment 4 Richard W.M. Jones 2012-07-26 17:15:32 UTC
This seems to be fixed now, thanks.


Note You need to log in before you can comment on or make changes to this bug.