Re: [PHP4BETA] php-4.0b1 won't load as a DSO on ydl-1.0
| From: | Sascha Schumann | Date: | Tue, 20 Jul 1999 17:19:58 +0000 |
| Subject: | Re: [PHP4BETA] php-4.0b1 won't load as a DSO on ydl-1.0 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2309@lists.php.net to get a copy of this message | ||
On Tue, Jul 20, 1999 at 11:17:40AM -0600, Darron Froese wrote:
> > Remove libphp4.so and edit the apxs utility. On line 75+ change
> >
> > my $CFG_LD_SHLIB = 'ld'; # substituted via Makefile.tmpl
> > my $CFG_LDFLAGS_SHLIB = '-Bshareable'; # substituted via Makefile.tmpl
> >
> > to
> >
> > my $CFG_LD_SHLIB = 'gcc'; # substituted via Makefile.tmpl
> > my $CFG_LDFLAGS_SHLIB = '-shared'; # substituted via Makefile.tmpl
> >
> > And let us know whether it works.
>
> Here's what I got now:
Uh, forgot about that. Rasmus, did you submit your report to the
Apache team already?
Once they use gcc as linker for APXS, we need to determine
somehow whether we need to use -rpath or -Wl,-rpath ...
> gcc: unrecognized option `-rpath'
> /usr/local/mysql/lib/mysql: file not recognized: Is a directory
> collect2: ld returned 1 exit status
> apxs:Break: Command failed with rc=65536
--
Regards,
Sascha Schumann
Consultant