RE: [PHP-DEV] problems building php-4.ORC1 on Solaris and Free BSD
| From: | Peter Kocks | Date: | Wed, 03 May 2000 03:32:48 +0000 |
| Subject: | RE: [PHP-DEV] problems building php-4.ORC1 on Solaris and Free BSD | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18368@lists.php.net to get a copy of this message | ||
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -Wall -c
> basic_functions.c
> && touch basic_functions.lo
> basic_functions.c:324: `php_if_dl' undeclared here (not in
> a function)
This is a bug that has been only partially fixed in the current CVS.
I say partially because the code has been fixed with an #ifdef
HAVE_LIBDL line 324, but this is not complete as dl works fine on
Solaris, but the configure script is not recognizing it properly.
You have at least these two options.
1) Delete line 324 of basic_functions.c:324 and it will compile, but
you will not have dl() support.
2) Run configure once, edit the config.cache file and turn the line
with dlopen() and dlerror() to "yes". Then configure again and build.
You'll now have a working php with dl().
As to the other problems, I'm not sure.
--pk