RE: [PHP-DEV] RE: Bug id #3386/3765/7031 - Informix related
| From: | Tyler Bannister | Date: | Thu, 05 Oct 2000 17:52:41 +0000 |
| Subject: | RE: [PHP-DEV] RE: Bug id #3386/3765/7031 - Informix related | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-34328@lists.php.net to get a copy of this message | ||
> Peter Kocks writes:
> > See
> >
> > /opt/informix/prod/lib/esql/checkapi.so
> >
> > Then do a
> >
> > ld -G -R/usr/local/lib -L/usr/local/bin -h libcheckapi.so checkapi.so
> >
> > and move the checkapi.so file into your LD_LIBRARY_PATH
> >
> > So, I have NO idea why informix chose to only leave this file as
> > a *.o, and
> > not *.so since everything else is a *.so. That being the case
> you may run
> > into trouble. I didn't though...
> >
> > --pk
>
> Well the checkapi.o is already in my LD_LIBRARY_PATH. I
> don't have a checkapi.so. I tried using "ld -G -R/usr/local/lib
> -L/usr/local/bin -h libcheckapi.so checkapi.o" but it produced
> an a.out file. So I renamed the a.out to checkapi.so and put it
> in the LD_LIBRARY_PATH but that seems to have made no difference
> to the webserver before or after I recompiled PHP.
Eventually, I had to rename it again to libcheckapi.so and add a -lcheckapi
tag to the libZend_la_LDFLAGS flag in Zend/Makefile. But it works now...
--
Tyler Bannister
tbannister@mpathix.com