Re: [PHP] Problem with PHP y Phorummail

2001-09-05 Thread Brian Clark

@ 2:52:49 PM on 9/5/01, Webmaster wrote:

 [root@corotu docs]# ./phorummail
 php: error in loading shared libraries: libmysqlclient.so.6: cannot open shared
 object file: No such file or directory

 What can I do for execute this script properly, What I doing it wrong?

 I am running Apache 1.3.20 - PHP 4.06 and MySQL 3.23.27

Linux? BSD?

Use `locate libmysqlclient.so.6` to find the library. Then, if the
path is, for example, /usr/local/mysql/lib/mysql/libmysqlclient.so.6,
you'll need to edit /etc/ld.so.conf and add the path
/usr/local/mysql/lib/mysql then run `ldconfig` once as root.

Then it should work.

-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.


-- 
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]




Re: [PHP] Problem with PHP y Phorummail

2001-09-05 Thread Brian Clark

@ 3:55:04 PM on 9/5/01, Webmaster wrote:

 Thanks for your answer, but I can't find libmysqlclient.so.6 in my
 server, is not in MySQL lib directory or PHP Lib directory, How I
 can do for install or copy this lib?? Do I need reinstall MySQL??
 what use in ./configure line???.

Try running updatedb if you're on Linux then run locate again to make
sure.

Other than that, did you install from source? If you installed from
something like a .deb or .rpm you may have to get the source rpm or
dev to go along with your binary installation rpm.

Make sense? Or no?

What OS/distribution?

-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.


-- 
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]




Re: [PHP] Problem with PHP y Phorummail

2001-09-05 Thread Brian Clark

@ 4:13:46 PM on 9/5/01, Webmaster wrote:

 Sorry, I forget this is my previous message, I'm running in Red Hat
 Linux 6.0.

Been a long time for me and RedHat/RPM, but..

You need to find the MySQL RPM with the same version that you
currently have installed, but it'll be labeled as 'MySQL client
programs and shared library' -- which I'm guessing is what you need
from the Official RedHat RPMs, but I'm not sure.

You can see what I mean here:

http://www.mysql.com/downloads/mysql-3.23.html

I'm also guessing you're running an older version of MySQL since
you're using 6.0? Or did you just install the MySQL RPM(s)?

If I were you, I'd get rid of your current install and try the RPMs
listed at the above URL. If you do that, you might want everything
under RedHat packages except the Benchmark/test suites.

If you knew you had the same version listed there, then youmight only
need one of those RPMs (say, Client shared libraries)..

Sorry I couldn't be of much more help..

-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.


-- 
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]