shared phobos 2.064, ubuntu 12.04

Gary Willoughby dev at nomad.so
Fri Nov 29 08:40:23 PST 2013


On Friday, 29 November 2013 at 16:10:49 UTC, Alexandr Druzhinin 
wrote:
> 29.11.2013 21:58, Jordi Sayol пишет:
>> El 29/11/13 07:55, Alexandr Druzhinin ha escrit:
>>> I recompile old project with dmd 2.064 and get the runtime 
>>> error:
>>> Fatal Error while loading 
>>> '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64':
>>>     The module 'std.path' is already defined in 
>>> 'bin64/workstation-x86-sdl_64'.
>>> How can I avoid this `collision`?
>>>
>>
>> This is a known issue: 
>> https://d.puremagic.com/issues/show_bug.cgi?id=11543
>>
>> The only workaround I know is to link against static phobos 
>> library.
>>
> Thank for info. But linking with static version causes libcurl 
> linking troubles... :(

The link order matters: 
http://stackoverflow.com/questions/10095150/std-net-curl-linker-errors-in-linux


More information about the Digitalmars-d-learn mailing list