Re: DL problems on freebsd
| From: | Andi Gutmans | Date: | Tue, 14 Mar 2000 19:10:10 +0000 |
| Subject: | Re: DL problems on freebsd | ||
| References: | 1 | Groups: | php.dev php.version4 |
| Request: | Send a blank email to php-dev+get-16808@lists.php.net to get a copy of this message | ||
Try and remove in zend.h the "&& defined(RTLD_NOW)" and in the following
line change RTLD_NOW to RTLD_LAZY.
Andi
On Tue, 14 Mar 2000, Phil Glatz wrote:
> At 10:18 AM 03/14/2000, Andi Gutmans wrote:
> >Check your php_config.h file and see if HAVE_LIBDL is
> >defined.
>
> yes, it is:
>
> 9:#define HAVE_LIBDL 1
> 238:#define HAVE_LIBDL 1
> 562:#define HAVE_LIBDL 1
> 565:#define HAVE_LIBDL 1
>
>
> my configure command was:
> ./configure --with-apache=/com/apache_1.3.12 \
> --with-mysql=/com/mysql \
> --enable-track-vars
>
>
>
> >Please mail me the results and also Cc: php-dev@lists.php.net and maybe
> >also php4beta@lists.php.net because there might be some people there who
> >are working with FreeBSD and have encountered the same problem.
> >
> >On Tue, 14 Mar 2000, Phil Glatz wrote:
> > > I'm trying to build Apache 1.3.12 with php-4.0b4pl1 an an older Free BSD
> > > (2.2.2) system, with gcc 2.7.2.1
> > >
> > > I followed the instructions (which were familiar to me, having built php3
> > > many times), and on the final Apache make, I'l seeing the errors;
> > >
> > > dl.c:107: Undefined symbol `_DL_LOAD' referenced from text segment
> > > dl.c:123: Undefined symbol `_DL_FETCH_SYMBOL' referenced from text segment
> > > dl.c:126: Undefined symbol `_DL_UNLOAD' referenced from text segment
> > > dl.c:136: Undefined symbol `_DL_UNLOAD' referenced from text segment
> > > dl.c:146: Undefined symbol `_DL_UNLOAD' referenced from text segment
> > >
> > > I believe these were related to the part of the php build:
> > >
> > > gcc -DHAVE_CONFIG_H -I. -I/com/php-4.0b4pl1/ext/standard -I../..
> > > -I../../Zend -I/com/php-4.0b4pl1 -I/com/apache_1.3.12/src/includeo
> > > dl.c: In function `php_dl':
> > > dl.c:107: warning: implicit declaration of function `DL_LOAD'
> > > dl.c:107: warning: assignment makes pointer from integer without a cast
> > > dl.c:123: warning: implicit declaration of function `DL_FETCH_SYMBOL'
> > > dl.c:126: warning: implicit declaration of function `DL_UNLOAD'
>