Re: Howto compiling PHP with using static libxml2 instead of the shared one

From: Date: Mon, 11 Sep 2006 11:02:59 +0000
Subject: Re: Howto compiling PHP with using static libxml2 instead of the shared one
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-17629@lists.php.net to get a copy of this message
[ Markus Jung ] > Hi there! > > Please can somone help me how my configure-command should lokk like or what I can do that > PHP5 is compiled with the static libxml2.a instead of the shared libxml2.so. > > I've tried it with this: > LDFLAGS="-R/usr/local/phplibs/libxml2/usr/local" truss -o trussout > ... Is the LDFLAGS-path a typo? Should it perhaps be LDFLAGS="-R/usr/local/phplibs/libxml2:/usr/local" (... with the ':' separating the two paths.) Either way, I do not believe setting the -R-flag to the linker will work, as I think that only adds paths to the binaries' RUNPATH (for linked binaries). Caveat: I'm not an expert at this :) -- ~ksvee "When come back, bring pie!" -- Weebl

« previous php.install (#17629) next »