Re: Re: yafphp on solaris

From: Date: Thu, 15 Sep 2011 03:39:27 +0000
Subject: Re: Re: yafphp on solaris
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8535@lists.php.net to get a copy of this message
HI: thanks very much, I will try to install a vm. thanks 2011/9/15 Christopher Jones <christopher.jones@oracle.com>: > > > On 09/14/2011 04:42 AM, Laruence 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. > > Hi Laruence, > > If you want to look at it yourself, check out: > > http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index.html > > http://www.oracle.com/technetwork/server-storage/solaris11/downloads/downloads-sol11-168267.html?ssSourceSiteId=ocomen > > If you want to install Solaris on a VM, you could use VirtualBox. > http://www.virtualbox.org/wiki/Downloads > > There is a prebuilt Solaris VirtualBox image at the bottom of the Solaris > link. > > Chris > >> >> 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: >>> >>> # ldd -d yaf.so >>>         libc.so.1 =>      /lib/64/libc.so.1 >>>         symbol not found: yaf_request_set_dispatched >>>  (./yaf.so) >>>         symbol not found: yaf_request_set_params_single >>> (./yaf.so) >>>         symbol not found: yaf_request_is_routed         (./yaf.so) >>>         symbol not found: yaf_request_set_routed >>>  (./yaf.so) >>>         symbol not found: yaf_dispatcher_fix_default >>>  (./yaf.so) >>>         symbol not found: yaf_dispatcher_fix_default >>>  (./yaf.so) >>>         symbol not found: yaf_request_is_dispatched >>> (./yaf.so) >>>         symbol not found: yaf_request_get_param         (./yaf.so) >>>         symbol not found: yaf_request_get_param         (./yaf.so) >>>         symbol not found: yaf_request_get_param         (./yaf.so) >>>         symbol not found: yaf_request_set_params_multi >>>  (./yaf.so) >>>         symbol not found: yaf_request_get_language >>>  (./yaf.so) >>>         symbol not found: yaf_request_get_method >>>  (./yaf.so) >>>         symbol not found: yaf_loader_is_category >>>  (./yaf.so) >>>         symbol not found: yaf_loader_is_category >>>  (./yaf.so) >>>         symbol not found: yaf_session_start             (./yaf.so) >>>         symbol not found: yaf_session_start             (./yaf.so) >>>         symbol not found: gc_globals            (./yaf.so) >>>         symbol not found: executor_globals              (./yaf.so) >>>         symbol not found: _zval_ptr_dtor                (./yaf.so) >>>         symbol not found: core_globals          (./yaf.so) >>>         symbol not found: zval_add_ref          (./yaf.so) >>>         symbol not found: sapi_module           (./yaf.so) >>>         symbol not found: zend_ce_iterator              (./yaf.so) >>>         symbol not found: zend_ce_arrayaccess           (./yaf.so) >>>         symbol not found: spl_ce_Countable              (./yaf.so) >>>         symbol not found: sapi_globals          (./yaf.so) >>>         symbol not found: output_globals                (./yaf.so) >>>         symbol not found: zend_compile_file             (./yaf.so) >>>         symbol not found: zend_execute          (./yaf.so) >>>         symbol not found: OnUpdateString                (./yaf.so) >>>         symbol not found: OnUpdateString                (./yaf.so) >>>         symbol not found: OnUpdateString                (./yaf.so) >>>         symbol not found: OnUpdateBool          (./yaf.so) >>>         symbol not found: OnUpdateBool          (./yaf.so) >>>         symbol not found: OnUpdateBool          (./yaf.so) >>>         symbol not found: OnUpdateBool          (./yaf.so) >>>         symbol not found: OnUpdateBool          (./yaf.so) >>>         symbol not found: OnUpdateBool          (./yaf.so) >>>         symbol not found: OnUpdateBool          (./yaf.so) >>>         symbol not found: zend_ini_boolean_displayer_cb >>> (./yaf.so) >>>         symbol not found: zend_ini_boolean_displayer_cb >>> (./yaf.so) >>>         symbol not found: zend_ini_boolean_displayer_cb >>> (./yaf.so) >>>         symbol not found: zend_ini_boolean_displayer_cb >>> (./yaf.so) >>>         symbol not found: zend_ini_boolean_displayer_cb >>> (./yaf.so) >>>         symbol not found: zend_ini_boolean_displayer_cb >>> (./yaf.so) >>>         symbol not found: zend_ini_boolean_displayer_cb >>> (./yaf.so) >>>         symbol not found: OnUpdateLongGEZero            (./yaf.so) >>>         libm.so.2 =>      /lib/64/libm.so.2 >>> >>> Can this error be solved ? Did I miss something ? >>> >>> Thanks. >>> Eugene. >>> >> >> >> > > -- > Email: christopher.jones@oracle.com > Tel:  +1 650 506 8630 > Blog:  http://blogs.oracle.com/opal/ > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Laruence  Xinchen Hui http://www.laruence.com/

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