Re: PHP 4.0 Bug #5160: Oracle libraries linking problem
| From: | Kirill Maximov | Date: | Wed, 21 Jun 2000 06:15:33 +0000 |
| Subject: | Re: PHP 4.0 Bug #5160: Oracle libraries linking problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21895@lists.php.net to get a copy of this message | ||
dave@opaque.net wrote:
>
> On 20 Jun 2000 kir@astrive.ru wrote:
>
> > I suggest there is a problem in the order of Oracle libraries in link command,
> > because in PHP3 link coomand most libraries like -lcommon appears two or
> > even three times.
> > Here each Oracle library is presented only once.
>
> The Oracle libraries are notorious for this. Here's the flags we use for
> linking against 7.3.2:
>
> DB_LIBS = -L$(ORACLE_HOME)/lib $(ORACLE_HOME)/lib/libclient.a -lsqlnet
> -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet
> -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3
> -lcore3 -lnlsrtl3 -lsocket -l nsl -lm -ldl -lposix4 -lsunmath -lm -lcore3
> -lsocket -lnsl -lm -ldl -lposix4 -ls unmath -lc -lm
Well, that's fine & correct and the linking command looks like this in
_PHP3_.
But in the current CVS tree for _PHP4_ we receive other result - each
library
is presented only once :( - so here is my bug report.
>
> I've tried paring it down to a more concise form, but there are circular
> dependencies between the libraries that screw things up.
>
> It's not as bad as 8i, though- the build command is almost a page long..
>
> -dave
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Best regards,
KIR