Bug #13065 Updated: Running PHP Script from shell
| From: | webmaster at stri dot org | Date: | Tue, 04 Sep 2001 15:59:36 +0000 |
| Subject: | Bug #13065 Updated: Running PHP Script from shell | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65058@lists.php.net to get a copy of this message | ||
ID: 13065
User updated by: webmaster@stri.org
Reported By: webmaster@stri.org
Old Summary: Error generated when I run Make from Apache
Status: Bogus
Bug Type: *Compile Issues
Operating System: Red Hat Linux 6.0
PHP Version: 4.0.6
New Comment:
I trying to run phorummail script from shell in Linux, but I get this error:
php: error in loading shared libraries: libmysqlclient.so.6: cannot open shared
object file: No such file or directory
I search libmysqlclient.so.6 in /usr/lib and /usr/local/mysql/lib and not exist.
How I can to install this lib.
Thanks,
Previous Comments:
------------------------------------------------------------------------
[2001-08-31 10:12:02] webmaster@stri.org
ok, I saw my error, I was using the line in Configure with Apache, and you was talking about PHP.
My apologize again, but really I don't found nothing helpful for my error in your database, I
think that should be updated with my output error.
Thanks,
------------------------------------------------------------------------
[2001-08-31 10:04:56] sander@php.net
You must add --with-zlib to the configure line of PHP, not of Apache. If needed, specify the
installation path of zlib.
------------------------------------------------------------------------
[2001-08-31 09:51:54] webmaster@stri.org
Ok, sorry I search in this database and I don't found nothing equal to this error.
I try configure with your suggestion and I get:
-------------------------------------------------
Configuring for Apache, Version 1.3.20
+ using installation path layout: Apache (config.layout)
configure:Error: invalid option '--with-zlib'
-------------------------------------------------
What can I do now??
------------------------------------------------------------------------
[2001-08-30 19:27:28] sniper@php.net
Add --with-zlib to your configure line.
And next time search the bug database first before
submitting bogus reports.
------------------------------------------------------------------------
[2001-08-30 15:48:30] webmaster@stri.org
I compiled PHP with this line:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
./configure --with-mysql=/usr/local/mysql --with-config-file-path=/www/conf --with-apache=../httpd
--enable-track-vars
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When I try to add PHP module to Apache, I received this erros when run Make.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress
':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_a
lloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/etc/apache_1.3.20/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/etc/apache_1.3.20'
make: *** [build] Error 2
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13065&edit=1