Re: Re: PHP 4.0 Bug #2754 Updated: OCI8 doesn't work
| From: | Sascha Schumann | Date: | Thu, 16 Dec 1999 12:47:13 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #2754 Updated: OCI8 doesn't work | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13753@lists.php.net to get a copy of this message | ||
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>
--
Regards,
Sascha Schumann
Consultant