-
Notifications
You must be signed in to change notification settings - Fork 547
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
dyld troubles on macOS Mojave with mysql2 0.4.x #1001
Comments
Could you try the latest point release of 0.4.x and see if that helps? |
I tried the different steps with 0.4.10 too and got the same error as written above. I have just tried it again to confirm, the error is the same. |
During the installation of the gem following message happens:
Maybe this helps? |
I have in the meantime completely nuked my home-brew install as well as my rbenv install and installed both and everything in that anew on macOS 10.14, sadly to no avail neither with mysql2 0.4.6 nor 0.4.10. |
@thegcat I had this issue. Hope you have xcode command line installed. I had to to install some missing header files by |
@tesssie thanks a lot for the suggestion, after recompiling the mysql2 gems this seems to work. |
@thegcat recompiling manually? |
Not really, just |
oh :)
…On Thu, Dec 6, 2018 at 11:23 AM Felix Schäfer ***@***.***> wrote:
Not really, just gem uninstall mysql2 and bundle install to install it
back.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1001 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ArEV_6wtAw5AeMTv_XY-eBvSARCJyHacks5u2LDlgaJpZM4WTmGx>
.
|
@tesssie, thanks for your solution! This worked like a charm for me. |
Happy to know that
…On Thu 24 Jan, 2019, 5:02 AM Danny Maher, ***@***.***> wrote:
@tesssie <https://github.com/tesssie>, thanks for your solution! This
worked like a charm for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1001 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ArEV_-29OHNOdGYvYEdGx9leKSVeRSRnks5vGPEXgaJpZM4WTmGx>
.
|
Thank you @tesssie , you save my life!! |
Thank you @tesssie |
When starting an existing rails 4 app on macOS Mojave with mysql2 0.4.6 (the results with mysql2 0.4.10 are the same):
I'm guessing the issue is related to some paths not being set correctly, but honestly I'm a bit at a loss here.
The mysql installation is a mysql 5.6 installed via homebrew, though the same errors also arise with mysql 5.7.
Different things I have tried, including building with
--with-mysql-rpath=/usr/local/opt/mysql@5.6/lib
,brew link --force
-ing, exporting the mysql lib path inDYLD_LIBRARY_PATH
amongst others did not yield a different result than above.For the record: I had also tried mysql2 0.5.2, but as this won't even load into rails 4 I can't say wether it works better or not.
Any pointers on how to tackle this issue?
The text was updated successfully, but these errors were encountered: