Re: yafphp on solaris

From: Date: Wed, 14 Sep 2011 11:42:16 +0000
Subject: Re: yafphp on solaris
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8530@lists.php.net to get a copy of this message
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: > > # 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. > -- Laruence  Xinchen Hui http://www.laruence.com/

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