Re: 2 problems with extension

From: Date: Thu, 12 Jun 2008 11:56:53 +0000
Subject: Re: 2 problems with extension
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5516@lists.php.net to get a copy of this message
On 12.06.2008 15:47, Adam Klobukowski wrote:
.a cannot be linked dynamically, it's a static library. You'll need .so to link it dynamically.
Ok, not dynamically my mistake. So instead, I'd like to link with .a. What should I add to my config.m4?
PHP_ADD_LIBRARY_WITH_PATH() Look for examples in PECL/*/*.m4
You probably have multithreaded Apache2 build.
Ok, what does this mean for me?
It means that you should make sure that the library can be used in multithreaded environment and if it is - make use of global macros (that are added to the sources automatically by ext-skel script). -- Wbr, Antony Dovgal

« previous php.pecl.dev (#5516) next »