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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



[ 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

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux