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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to