Thread overview
shared phobos 2.064, ubuntu 12.04
Nov 29, 2013
Alexandr Druzhinin
Nov 29, 2013
Jordi Sayol
Nov 29, 2013
Alexandr Druzhinin
Nov 29, 2013
Gary Willoughby
Nov 29, 2013
Gary Willoughby
November 29, 2013
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`?
November 29, 2013
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.

-- 
Jordi Sayol
November 29, 2013
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... :(
November 29, 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
November 29, 2013
Another resource:
http://forum.dlang.org/thread/cwgxdvkvsnbwvbgrdivp@forum.dlang.org#post-cwgxdvkvsnbwvbgrdivp:40forum.dlang.org