Skip to content

gem install don't wrk at windows #1393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
demetrius2003 opened this issue Feb 17, 2025 · 0 comments
Open

gem install don't wrk at windows #1393

demetrius2003 opened this issue Feb 17, 2025 · 0 comments

Comments

@demetrius2003
Copy link

Windows Server 2019, Ruby installer 2.7.2 with MSYS2.
Cannot install gem. Try this one:
gem install mysql2
or this:
gem install mysql2 --platform=ruby -- --with-mysql-lib=c:\mysql\lib --with-mysql-include=c:\mysql\include
No way! I get too many error like this:
c:\mysql\lib/mysqlclient.lib(C:/build/sb_1-17897690-1734351670.0571427/release/mysys/mysys_objlib.dir/RelWithDebInfo/my_default.obj):(.text$x+0x8): undefined reference to ??1?$_Alloc_construct_ptr@V?$allocator@U?$_Tree_node@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@W4enum_variable_source@@@std@@Peax@std@@@std@@@std@@qeaa@XZ'`
What can i do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant