Re: [PHP4BETA] Trouble compiling php4b1
| From: | Andre Eisenbach | Date: | Wed, 28 Jul 1999 16:57:58 +0000 |
| Subject: | Re: [PHP4BETA] Trouble compiling php4b1 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2912@lists.php.net to get a copy of this message | ||
Hi!
Edit your /etc/ld.so.conf and add the path to you mysql lib directory
(For example /usr/local/lib/mysql). Then unpack Apache and PHP again and
start all over.
Andre
Henry Blackman wrote:
>
> I'm running Red Hat 5.2 Intel - I can't compile Apache with PHP4-b1 (not
> from CVS but the website). I get the following error:
>
> gcc -c -I../os/unix -I../include -DLINUX=2 -I/usr/local/php-4.0b1 -I/usr/
> local/php-4.0b1/libzend -I/usr/local/php-4.0b1/libzend c
> gcc -DLINUX=2 -I/usr/local/php-4.0b1 -I/usr/local/php-4.0b1/libzend -I/usr/
> local/php-4.0b1/libzend -I/usr/local/php-4.0b1 -DUSE_HSm
> ./gen_uri_delims >uri_delims.h
> ./gen_uri_delims: error in loading shared libraries
> libmysqlclient.so.6: cannot open shared object file: No such file or
> directory
> make[3]: *** [uri_delims.h] Error 127
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/usr/local/apache_1.3.6/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/local/apache_1.3.6'
> make: *** [build] Error
>
> Can anyone help me?
>
> Cheers,
> Henry
>
> --
> PHP 4 Beta