Re: PHP 4.0 Bug #5274: missing symbols - and a crude fix
| From: | Rasmus Lerdorf | Date: | Thu, 29 Jun 2000 00:30:07 +0000 |
| Subject: | Re: PHP 4.0 Bug #5274: missing symbols - and a crude fix | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22692@lists.php.net to get a copy of this message | ||
How about just adding -lm to your LD_FLAGS?
On 29 Jun 2000 chris@okanagan.net wrote:
> From: chris@okanagan.net
> Operating system: SCO Openserver 5.0.5
> PHP version: 4.0 Latest CVS (29/06/2000)
> PHP Bug Type: Dynamic loading related
> Bug description: missing symbols - and a crude fix
>
> apache version 1.3.12, standard cc compiler
> cannot load /usr/httpd/libexec/libphp4.so into server: dynamic linker....
> unsresolved symbol .........
>
> The list below are the unresolved symbols, in order to make apache
> and PHP work,
> include this functions into mod_so.c in the apache directory. Don't
> ever call this function....
>
> There has to be a better way to fix it then this...
>
>
> dummy()
> {
> pow(1,2);
> finite(1,2);
> strlcpy(NULL,NULL);
> strlcat(NULL,NULL);
> dbm_nextkey();
> usleep(0);
> fsync(0);
> sqrt(0);
> exp(0);
> atan2(0);
> acos(0);
> tan(0);
> fabs(0);
> }
>
>
>