Re: adding libraries to php4?

From: Date: Tue, 13 Jun 2000 20:10:10 +0000
Subject: Re: adding libraries to php4?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21245@lists.php.net to get a copy of this message
thanks for the quick response. It didn't seem to work, though. For some reason apxs doesn't seem to be running and is not linking to anything outside of /usr/lib. Any ideas? Delivered-To: jcc@nbcs.rutgers.edu Date: Tue, 13 Jun 2000 21:07:04 +0200 (CEST) From: Sascha Schumann <sascha@schumann.cx> X-Sender: sas@eco.foo cc: php-dev@lists.php.net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 13 Jun 2000 jcc@nbcs.rutgers.edu wrote: > I've got a library or two that I'd like to link with php4 for one of > my machines. It's a Sparc Ultra 2 that runs Solaris 7 and apache > v1.3.3. > > Since this is Solaris I need to add -l, -L, and -R switches for ld. > When I built php v3.0.14, I was able to do this by directly hacking > the Makefile. Now that I'm trying to build php4 I'm not sure where > (or how) to make these kinds of changes. > > My question is: Which file(s) I should edit to change the > APXS_LDFLAGS? If there is some other (better) way to add libraries > and related ld switches, I'd like to know. Use something like that: $ LIBS=-lfoo LDFLAGS=-L/bar/baz ./configure --with-apxs - Sascha

« previous php.dev (#21245) next »