[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MySQL, PHP, Apache: /usr/libexec/ld.so: httpd: libmysqlclient.so.6.0: No such file or directory


Thalis A. Kalfigopoulos <thalis@xxxxxxxxxxx> wrote:
> 
> Since you updated both mysql and php you presumably 
> should recompile apache as well. A quick&dirty solution 
> though could be to just create a link: libmysqlclient.so.6.0->
> libmysqlclient.so.10.0 and see what happens from there :-)

Nope, that's not true.  You never need to recompile Apache if
you are using PHP as a DSO (which we do in the OpenBSD ports 
tree).

And don't symlink the shared library!  Recompile to make it link
against the right one.  This is purely a mismatch of binary ports,
I think.  Update your ports tree and reinstall the ports from source,
and everything will work fine.

--
Anil Madhavapeddy, <anil@xxxxxxxxxx>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <mysql-thread69328@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.