digitalmars.D.learn - module std.regex
- Benji (18/18) Dec 30 2013 Hello,
- John Colvin (2/20) Dec 30 2013 Which compiler/version?
- Benji (2/28) Dec 30 2013 DMD 2.064-2 64bit, Ubuntu 13.10
- Dmitry Olshansky (8/22) Dec 30 2013 It's a bug in 2.064-2 when using shared library. You as end user can't
- Benji (3/31) Dec 30 2013 Thanks! Could be downgrading to 2.063 the solution?
- Dmitry Olshansky (5/13) Dec 31 2013 If 2.063 works for you, sure it can.
Hello, when I try to run following code: import std.stdio; import std.net.curl; void main() { writeln("dlang.org"); } I get following error: Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped) Somewhere I read that this should fix it: - Make ModuleInfos immutable, which is something we should do anyhow. But what are "ModuleInfos" ? Where I can find them and what exactly to do with them?
Dec 30 2013
On Monday, 30 December 2013 at 18:08:42 UTC, Benji wrote:Hello, when I try to run following code: import std.stdio; import std.net.curl; void main() { writeln("dlang.org"); } I get following error: Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped) Somewhere I read that this should fix it: - Make ModuleInfos immutable, which is something we should do anyhow. But what are "ModuleInfos" ? Where I can find them and what exactly to do with them?Which compiler/version?
Dec 30 2013
On Monday, 30 December 2013 at 18:36:24 UTC, John Colvin wrote:On Monday, 30 December 2013 at 18:08:42 UTC, Benji wrote:DMD 2.064-2 64bit, Ubuntu 13.10Hello, when I try to run following code: import std.stdio; import std.net.curl; void main() { writeln("dlang.org"); } I get following error: Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped) Somewhere I read that this should fix it: - Make ModuleInfos immutable, which is something we should do anyhow. But what are "ModuleInfos" ? Where I can find them and what exactly to do with them?Which compiler/version?
Dec 30 2013
30-Dec-2013 22:08, Benji пишет:Hello, when I try to run following code: import std.stdio; import std.net.curl; void main() { writeln("dlang.org"); } I get following error: Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped)It's a bug in 2.064-2 when using shared library. You as end user can't do much about it - wait for the next release where it should be fixed or use static linking for the moment.Somewhere I read that this should fix it: - Make ModuleInfos immutable, which is something we should do anyhow.This is part of core developers discussion and isn't something easily tweaked (else it would've been already fixed). -- Dmitry Olshansky
Dec 30 2013
On Monday, 30 December 2013 at 19:27:43 UTC, Dmitry Olshansky wrote:30-Dec-2013 22:08, Benji пишет:Thanks! Could be downgrading to 2.063 the solution?Hello, when I try to run following code: import std.stdio; import std.net.curl; void main() { writeln("dlang.org"); } I get following error: Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped)It's a bug in 2.064-2 when using shared library. You as end user can't do much about it - wait for the next release where it should be fixed or use static linking for the moment.Somewhere I read that this should fix it: - Make ModuleInfos immutable, which is something we should do anyhow.This is part of core developers discussion and isn't something easily tweaked (else it would've been already fixed).
Dec 30 2013
31-Dec-2013 00:03, Benji пишет:On Monday, 30 December 2013 at 19:27:43 UTC, Dmitry Olshansky wrote:[snip]30-Dec-2013 22:08, Benji пишет:Hello, when I try to run following code:If 2.063 works for you, sure it can. -- Dmitry OlshanskyThis is part of core developers discussion and isn't something easily tweaked (else it would've been already fixed).Thanks! Could be downgrading to 2.063 the solution?
Dec 31 2013