![]() ![]() If you need to have first in your PATH, run:įor compilers to find you may need to set:Įxport pkg-config to find you may need to set: $ /usr/local/bin/brew install Downloading Īlready downloaded: Installing Pouring is keg-only, which means it was not symlinked into /usr/local,īecause this is an alternate version of another formula. I am able to workaround by using pymysql instead, but this is not an acceptable solution.īeta Was this translation helpful? Give feedback. Version_info, _mysql.version_info, _mysql._file_ ![]() In /Users/davidv/Projects/venv/order-book/lib/python3.9/site-packages/MySQLdb/_ĭuring handling of the above exception, another exception occurred:įile “/Users/davidv/Projects/venv/order-book/lib/python3.9/site-packages/MySQLdb/_init_.py”, line 24, in ![]() Referenced from: /Users/davidv/Projects/venv/order-book/lib/python3.9/site-packages/MySQLdb/_ ![]() ImportError: dlopen(/Users/davidv/Projects/venv/order-book/lib/python3.9/site-packages/MySQLdb/_, 2): Symbol not found: _mysql_affected_rows Other things maybe can be useful: macOs 12.Mysql Ver 8.0.22 for osx10.16 on x86_64 (Homebrew) Just for info, pecl list print out: Package Version State The same approach I used to install xdebug and no problem occoured. "symbol not found in flat namespace '_PHP_MD5Init' " Error encountered in loading redis dynamic library I try to follow another post with a similar error, but with no different result. When I add extension=mongodb.so or extension="mongodb.so" to my php.ini, I receive this error. I'm trying to use php with mongodb, installed with "pecl install mongodb". I'm on on Mac with Apple Silicon, php 8.1 installed with "brew tap shivammathur/php". I'm facing this error PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /opt/homebrew/lib/php/pecl/20210902/mongodb.so (dlopen(/opt/homebrew/lib/php/pecl/20210902/mongodb.so, 0x0009): symbol not found in flat namespace '_u_strFromUTF8_67'), /opt/homebrew/lib/php/pecl/20210902/mongodb.so.so (dlopen(/opt/homebrew/lib/php/pecl/20210902/mongodb.so.so, 0x0009): tried: '/opt/homebrew/lib/php/pecl/20210902/mongodb.so.so' (no such file))) in Unknown on line 0 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |