Re: Unresolved Mistery Error in PHP
| From: | Richard Lynch | Date: | Sun, 09 Sep 2001 00:22:48 +0000 |
| Subject: | Re: Unresolved Mistery Error in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66551@lists.php.net to get a copy of this message | ||
You probably have differing versions of MySQL compiled into PHP and what you
are actually *running* on your computer.
Re-compile PHP and be sure to use --with-mysql=/path/to/your/mysql/source
That source *MUST* match your running MySQL server.
Watch the configure output messages, and be sure you don't get a warning
about MySQL built-in support at the end.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Webmaster <webmaster@stri.org>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Thursday, September 06, 2001 2:25 PM
Subject: Unresolved Mistery Error in PHP
> Hi people:
>
> I trying to run a script from my shell but I get this error:
>
> [root@corotu docs]# ./phorummail
> php: error in loading shared libraries: libmysqlclient.so.6: cannot open
> shared
> object file: No such file or directory
>
> Well, some people said to me that usually this library is located in
> /usr/local/lib/mysql, I search this file in source of MySQL but not
> exists!!! only there are libmysqlclient.so.10, I made a sym-link from
> libmysqlclient.so.10 to libmysqlclient.so.6 after copy to
> /usr/local/lib/mysql and don't work!!!! I received the same error.
>
> The error occurs with any php script not only with Phorummail.
>
> I am on the edge of insane, please somebody help me, I was working in this
> for one week.
>
> Regards,
>
> Peter Brumvig
>