Re: PHP 5 Install problem:[sapi/cli/php] Error 1 ?
| From: | Curt Zirzow | Date: | Fri, 02 Jul 2004 22:50:23 +0000 |
| Subject: | Re: PHP 5 Install problem:[sapi/cli/php] Error 1 ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189596@lists.php.net to get a copy of this message | ||
* Thus wrote Jough P:
> Hi all, I'm having trouble installing PHP 5 on a Fedora Core 2 box.
> I get through ./configure fine but during the make I get errors like
> this:
> ext/pcre/php_pcre.lo(.text+0x2e38):/home/jough/php-5.0.0RC3/ext/pcre/
> php_pcre.c:1482: undefined reference to `php_pcre_exec'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
This means it can't find the shared object for the pcrelib.
>
> ./configure --host=i386-redhat-linux'
> ...
> '--with-pcre-regex=/usr'
Any paticular reason you are using this? Php has a build in
pcrelib that it will use.
Otherwise you're pcrelib is probably in a awkward place.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!