-
Notifications
You must be signed in to change notification settings - Fork 556
Description
Hi,
I am trying to use the library on windows 11 with ruby 3.4. I install the gem through bundle install reading my gemfile.
I am not specifying the version, so I think its the latest.
I am using webrick with rack. When I do a "rackup config.ru" I get a stack trace saying that the library was compiled for versio 10.x but I am using 3.x.
I have both Maria 10.11 and MySQL 8 installed.
I also read somewhere that when on version mismatches, one should get the libmysql.dll from the database server and place it under the gem distribution in the ruby directory tree. If that is so, I don't knwo where to put it. I also did not find the file installed when the gem was installed. The docs say that the dll is fetched from the internet and placed somewhere.
I then dug a little more, and saw that on windows, to have a different version of the shared library that the gem uses, one has to compile some source files with mingw in order to generate a .a or .so. I saw that in a readme fille where a .so is placed.
I would really like to get this going, from the doc file, I like the simplicity of using it.
So, in all, what are my options ?
Thanks,
Regards