www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - shared phobos 2.064, ubuntu 12.04

reply Alexandr Druzhinin <drug2004 bk.ru> writes:
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`?
Nov 28 2013
parent reply Jordi Sayol <g.sayol yahoo.es> writes:
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
Nov 29 2013
parent reply Alexandr Druzhinin <drug2004 bk.ru> writes:
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... :(
Nov 29 2013
parent reply "Gary Willoughby" <dev nomad.so> writes:
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
Nov 29 2013
parent "Gary Willoughby" <dev nomad.so> writes:
Another resource:
http://forum.dlang.org/thread/cwgxdvkvsnbwvbgrdivp forum.dlang.org#post-cwgxdvkvsnbwvbgrdivp:40forum.dlang.org
Nov 29 2013