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
Wanna help me out?  Like Music?  Buy a CD:
Volunteer a little time:
----- Original Message -----
From: Webmaster <[EMAIL PROTECTED]>
Newsgroups: php.general
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: 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, I made a sym-link from
> to 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 (
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