module std.regex

Benji romanbeno273 at gmail.com
Mon Dec 30 10:45:05 PST 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:
>> 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?

DMD 2.064-2 64bit, Ubuntu 13.10


More information about the Digitalmars-d-learn mailing list