-
Notifications
You must be signed in to change notification settings - Fork 77
make test fails on macOS Catalina: Library not loaded: @rpath/libmysqlclient.21.dylib #322
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
Comments
The problem seems to be that
where
This command does not inherit
Running |
@hakonhagland were you able to find a resolution? I am facing the same problem. I'm on macOS 10.15.6. |
@ra1fee Apparently it is a security measure introduced in newer versions of macOS, see this post for more information. |
I think we should try to find a fix for this, more people are running into this. See for example this issue |
@hakonhagland is there any update regarding this issue? I am encountering the same issue now (on M1 MacBook Pro, macOS Big Sur) |
@cpeng13 I have added a PR to |
@cpeng13 Seems to me like a problem with the
to patch |
Uh oh!
There was an error while loading. Please reload this page.
I am on macOS 10.15.3, perlbrew with perl version 5.30. I first installed mysql from
https://dev.mysql.com/downloads/mysql/
Downloaded disk image file: mysql-8.0.19-macos10.15-x84_64.dmg
After the installation I added to my
~/.zshrc
Then I ran
perl Makefile.PL; make; make test
:It is strange that it cannot find
libmysqlclient.21.dylib
since I setLD_LIBRARY_PATH
and the directory indeed has the library:The text was updated successfully, but these errors were encountered: