Re: ext/openssl and ext/xslt will not make shared libs (PHP 4.2.1)

From: Date: Thu, 13 Jun 2002 19:55:44 +0000
Subject: Re: ext/openssl and ext/xslt will not make shared libs (PHP 4.2.1)
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7323@lists.php.net to get a copy of this message
I was able to build them shared, but in the case of xlst, I was using the Sablotron library. For openssl, I had to edit the configure file and force it to output OPENSSL_SHARED_LIBADD, and tweak the Makefile.in to have "LTLIBRARY_SHARED_LIBADD=$(OPENSSL_SHARED_LIBADD)" below the other similar definitions. It appears that you can determine which libraries can be built shared by looking at the Makefile.in files in each of the ext/* directories. Those which do not have the "LTLIBRARY_SHARED_LIBADD=" lines will not be built shared, unless you do some hand-editing. I think the reason not to build OpenSSL as a shared library is that the purpose of OpenSSL is security, and using a shared library allows rogue code to be substituted for the real library, which defats the security.

« previous php.install (#7323) next »