mysql-native and _D5mysql12__ModuleInfoZ

surlymoor surlymoor at cock.li
Fri May 21 20:20:00 UTC 2021


On Friday, 21 May 2021 at 15:47:47 UTC, Guillaume wrote:
> Hi,
>
> I have a vibed project that uses mysql-native version 3.0.1. It 
> compiles fine with dmd 2.094.2 but not with any version after 
> that, even with the latest beta. At link I get the following 
> error:
>
> undefined reference to `_D5mysql12__ModuleInfoZ'
>
> It looks to be related to this 
> https://github.com/dlang/dub/pull/2039 and to this 
> https://github.com/mysql-d/mysql-native/issues/224
>
> Are there any ways to fix this or if I'm stuck with 2.094.2 
> until there's a fix somewhere?
>
> Thanks,
>
> Guillaume

If you downgrade to [DUB 
1.23.0](https://github.com/dlang/dub/releases/tag/v1.23.0), you 
should be able to build mysql-native.



More information about the Digitalmars-d mailing list