Re: PHP 4.0 Bug #5160: Oracle libraries linking problem

From: Date: Wed, 21 Jun 2000 15:31:13 +0000
Subject: Re: PHP 4.0 Bug #5160: Oracle libraries linking problem
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-21904@lists.php.net to get a copy of this message
On Wed, Jun 21, 2000 at 10:15:33AM +0400, Kirill Maximov wrote: > 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. could you please gimme a logon to that box? i'll then look into that. > > > > > 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 > > -- > 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 -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#21904) next »