/usr/lib/libldc.so: undefined reference to `ldc::ldc_version'

Kai Nacke kai at redstar.de
Sat Apr 5 13:26:30 PDT 2014


Hi Konstantinos!

On Friday, 4 April 2014 at 18:41:49 UTC, Konstantinos Margaritis 
wrote:
> [...]
> /usr/lib/libldc.so:
> undefined reference to `ldc::ldc_version'
> collect2: error: ld returned
> 1 exit status Error: /usr/bin/gcc failed with status: 1
> make: *** [emporium] Error 1
>
> If I remove -L-lldc it compiles a static binary which works 
> just fine
> but I thought I'd try to make the binary smaller.
>
> Any ideas?

It's a bug. Should be fixed now in master and merge-2.064 branch.
Some time ago I created an unnecessary reference to 
ldc::ldc_version.

> Konstantinos
>
> PS. I've created debian packages (source only) of
> openssl/libevent/vibe.d, which I will be uploading to the 
> archive very
> soon, just need to finish some typical stuff (licenses, etc).

Great!!!

Regards,
Kai


More information about the digitalmars-d-ldc mailing list