Re: Re: PHP 4.0 Bug #2754 Updated: OCI8 doesn't work
| From: | Dirk Nehring | Date: | Wed, 22 Dec 1999 09:05:43 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #2754 Updated: OCI8 doesn't work | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13931@lists.php.net to get a copy of this message | ||
On Thu, Dec 16, 1999 at 01:47:13PM +0100, Sascha Schumann wrote:
> On Wed, Dec 15, 1999 at 11:51:24AM +0100, Dirk Nehring wrote:
> > On Wed, Dec 01, 1999 at 08:16:08PM +0100, Thies C. Arntzen wrote:
> > > looks like a compiler/linker setup problem...
> > > __cmpdi2 is defined in libgcc.a so it's *not* related to oracle at all.
> > >
> > > please verify that your setup!
> >
> > I have verified it. The problem is related to the fact that we try to
> > make a DSO object. When I statically linked everything into apache,
> > everything works flawlessly. Perhaps there is a problem in the DSO
> > creation in the Makefile.
>
> Solaris' ld obviously does not know about libgcc.a, so you
> have to manually change LDFLAGS/LIBS:
>
> LDFLAGS=-L/path/to/gcc-lib/<arch>/<version> \
> LIBS=-lgcc \
> ./configure <args>
The current CVS version seems to be broken, can't build the DSO version
under Solaris 2.6 without changing the Makefile manually (missing rpath,
unknown symbols, etc.). A little bit annoying, the only thing I get
working is the static Apache version.
Regards,
Dirk
--
Dirk Nehring | Phone: +49 5241 80-1560
QuBiz GmbH | Fax: +49 5241 80-9518
Carl-Bertelsmann-Str. 161 I | EMail: dirk.nehring@qubiz.com
33311 Gütersloh |