![]() After some tinkering, I managed to produce the correct version of the mysql_config file. I quickly tracked the error to the repository where the problematic file was present (homebrew’s formula pulls package from there). Lines with libs and embedded_libs contained errors - they were cut off after the -l parameter. Something like: sudo symbols path to your mysql installation/libmysqlclient.dylib -arch arm64 and so on. You can check what gets installed using the symbol command. EnterpriseDB Informix MySQL Netezza Oracle. ![]() Broken mysql_configĪ more detailed look at that config script revealed the culprit: # /usr/local/bin/mysql_config mysql-client needs to match python and mysql c libs. Brew Cask ( brew install -cask dbeaver-community ) MacPorts ( sudo port install dbeaver-community ). Finally managed to found one rather interesting line more towards the beginning of it: Using mysql_config at /usr/local/bin/mysql_config.Īfter some reading how mysql2 gem builds its native extension and checking the content of mentioned mysql_config script, I suspected something might be wrong there - linker command “-l-Wno-atomic-implicit-seq-cst” just didn’t make any sense. Linker coldly reported library not found error so I had to take a bit longer look at the build log. Ld: library not found for -l-Wno-atomic-implicit-seq-cstĬlang: error: linker command failed with exit code 1 (use -v to see invocation ) make: *** Error 1 make failed, exit code 2 ![]() Linking shared-object mysql2/mysql2.bundle This could take a while.ĮRROR: Failed to build gem native extension. □ /usr/local/Cellar/mysql-connector-c/6.1.11: 79 files, 15.3MBīuilding native extensions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |