Compilation/linking error in Mac OSX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Memcached Functions for MySQL |
New
|
Undecided
|
Unassigned |
Bug Description
I use MacPorts for MySQL (5.0.86) and libmemcached (0.32). They're installed in /opt/local.
When I try to configure:
sudo ./configure --with-
I get the error:
checking for libmemcached >= 0.17... configure: error: libmemcached not found
So I remove the libmemcached test from configure.ac, run autoconf again, and configure with:
sudo ./configure --with-
'Make' goes well too, from what I can tell.
Then I copy contents of src/.libs to /usr/lib, because MySQL won't see the libs elsewhere.
Then I try to run:
mysql -u root -p mysql < sql/install_
And I get the error message:
ERROR 1126 (HY000) at line 38: Can't open shared library 'libmemcached_
/usr/lib/
So MySQL finds the compiled lib, but can't make it work. Any ideas?