Re: Re: yafphp on solaris
| From: | Ferenc Kovacs | Date: | Wed, 14 Sep 2011 11:45:18 +0000 |
| Subject: | Re: Re: yafphp on solaris | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8531@lists.php.net to get a copy of this message | ||
On Wed, Sep 14, 2011 at 1:42 PM, Laruence <laruence@php.net> wrote:
> Hi all:
> Eugene told me that he can not make Yaf work on solaris,
>
> and then he find out why:
>
> "Followup: I figured out the proper way to build. The
> proper way is to use gcc. When using Sun Studio the error I talked
> earlier abbout appears, when using gcc - it doesn't.
>
> It would be nice if you'll metion it in the readme, so ppl
> compiling it on solaris will save some time."
>
> so here is my quesion, what should I do to make Yaf can work on
> solaris(pass the sun studio compiler)? I have no experience on that
> OS.
>
> thanks
>
> 2011/9/14 Eugene Zheganin <zheganin@gmail.com>:
>> Hi.
>>
>> I want to ask about Yaf. I want to use it, but I'm stuck shortly after
>> building. I installed the module via pecl, but when I launch php I get this:
>>
>> # php -m
>> PHP Warning: PHP Startup: Unable to load dynamic library
>> '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/yaf.so' -
>> ld.so.1: php: fatal: relocation error: file
>> /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/yaf.so: symbol
>> yaf_request_set_dispatched: referenced symbol not found in Unknown on line 0
>>
>> nm says that indeed this symbil is unreferenced, and ldd show this:
just a wild guess, but maybe it is related to
http://lxr.php.net/opengrok/xref/PHP_TRUNK/acinclude.m4#1542
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu