WSO2-WSF-PHP 64-bit rpm available

Monday, March 24, 2008

One of our users (Jan-Frode) has build WSO2-WSF-PHP RPM for a 64 bit RadHat Linux platform. He has hosted here. Thanks Jan for your contribution.

13 comments:

janfrode said...

Please use http://tanso.net/yum/repodata/repoview/wso2-wsf-php-0-1.2.1-3.html as that version puts all files in /usr/lib64/ and nothing in /usr/lib/.

gag_72 said...

is it possible to use this with centOS systems.
I tried
yum install wso2-wsf-php-1.2.1-3.x86_64.rpm

and the error is
Error: Missing Dependency: libssl.so.6()(64bit) is needed by package wso2-wsf-php
Error: Missing Dependency: rtld(GNU_HASH) is needed by package wso2-wsf-php
Error: Missing Dependency: libcrypto.so.6()(64bit) is needed by package wso2-wsf-php

Any ideas?

Dimuthu said...

I think the solution is to try install missing libraries, mostly the openssl rpms.

gag_72 said...

rtld is glibc, this will impact a lot of other things.

Dimuthu said...

Can you try building from the source rpm.

gag_72 said...

tried with src. Make fails with
make[7]: Entering directory `/tmp/wso2-wsf-php-src-1.2.1/wsf_c/sandesha2c/src/client'
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -g -lpthread -lsqlite3 -o libsandesha2_client.la -rpath /usr/lib64/php/modules/wsf_c/lib sequence_report.lo report.lo client.lo -ldl
gcc -shared .libs/sequence_report.o .libs/report.o .libs/client.o -lpthread -lsqlite3 -ldl -Wl,-soname -Wl,libsandesha2_client.so.0 -o .libs/libsandesha2_client.so.0.0.0
/usr/bin/ld: cannot find -lsqlite3
collect2: ld returned 1 exit status
make[7]: *** [libsandesha2_client.la] Error 1

sqlite is installed. Yum requires it.
[root@ite-wa-01 wso2-wsf-php-src-1.2.1]# yum list installed|grep sqlit*
python-sqlite.x86_64 1.1.7-1.2.1 installed
sqlite.x86_64 3.3.6-2 installed
Now what do I do? I'm really stuck with this.

gag_72 said...

I did ldconfig and tried make again.Same error.

gag_72 said...

And one more thing, does rpm files, create wfc_home and script folders?

gag_72 said...

Nevermind, installed sqlite-devel.But now Upon source compilation I get the compilation error.
gcc -I. -I/tmp/wso2-wsf-php-src-1.2.1/src -DPHP_ATOM_INC -I/tmp/wso2-wsf-php-src-1.2.1/src/include -I/tmp/wso2-wsf-php-src-1.2.1/src/main -I/tmp/wso2-wsf-php-src-1.2.1/src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/tmp/wso2-w
sf-php-src-1.2.1/wsf_c/axis2c/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/ax
is2c/neethi/src/util -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /tmp/wso2-wsf-php-src-1.2.1/src/wsf_wsdl.c -fPIC -DPIC -o .libs/wsf_wsdl.o
/bin/sh /tmp/wso2-wsf-php-src-1.2.1/src/libtool --mode=link gcc -DPHP_ATOM_INC -I/tmp/wso2-wsf-php-src-1.2.1/src/include -I/tmp/wso2-wsf-php-src-1.2.1/src/main -I/tmp/wso2-wsf-php-src-1.2.1/src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/
php/ext -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/include -I/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/include -I/tmp/wso2-wsf-p
hp-src-1.2.1/wsf_c/axis2c/neethi/src/util -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -o wsf.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/wso2-wsf-php-src-1.2.1/src/modules wsf.lo wsf_xml_msg_recv.lo wsf_util.lo wsf_stream.lo wsf_worker.lo wsf_out_transport_info.lo wsf_cl
ient.lo wsf_policy.lo wsf_wsdl.lo -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/util/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/util/.libs -lneethi_util -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/n
eethi/src/.libs -lneethi -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/core/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/core/.libs -lmod_rampart -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/receiver/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2
c/src/core/transport/http/receiver/.libs -laxis2_http_receiver -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/sender/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/sender/.libs -laxis2_http_sender -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axi
s2c/util/src/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/src/.libs -laxutil -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/engine/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/engine/.libs -laxis2_engine -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/sr
c/om/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/om/.libs -laxis2_axiom -Wl,-rpath,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -laxis2_parser
gcc -shared .libs/wsf.o .libs/wsf_xml_msg_recv.o .libs/wsf_util.o .libs/wsf_stream.o .libs/wsf_worker.o .libs/wsf_out_transport_info.o .libs/wsf_client.o .libs/wsf_policy.o .libs/wsf_wsdl.o -Wl,--rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/util/.libs/.libs -Wl,--rpath -Wl,/tmp/ws
o2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/.libs/.libs -Wl,--rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/core/.libs/.libs -Wl,--rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/receiver/.libs/.libs -Wl,--rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/
core/transport/http/sender/.libs/.libs -Wl,--rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/src/.libs/.libs -Wl,--rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/engine/.libs/.libs -Wl,--rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/om/.libs/.libs -Wl,--rpath -Wl,
/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs/.libs -Wl,--rpath -Wl,/usr/lib64/php/modules/wsf_c/lib -Wl,--rpath -Wl,/usr/lib64/php/modules/wsf_c/modules/rampart -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/common/.libs -L/tmp/wso2-wsf-php-src-1.2.1/ws
f_c/axis2c/src/core/engine/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/secconv/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/omxmlsec/openssl/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/omxmlsec/tokens/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/omxmlsec/.li
bs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/src/.libs -L/usr/lib64 -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/om/.libs -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/util/.libs /tmp/wso2-wsf-php-src-1.2
.1/wsf_c/axis2c/neethi/src/util/.libs/.libs/libneethi_util.so -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/.libs /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/.libs/.libs/libneethi.so -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/core/.libs /tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampart
c/src/core/.libs/.libs/libmod_rampart.so -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/receiver/.libs /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/receiver/.libs/.libs/libaxis2_http_receiver.so -L/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/htt
p/sender/.libs /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/sender/.libs/.libs/libaxis2_http_sender.so /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/src/.libs/.libs/libaxutil.so /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/engine/.libs/.libs/libaxis2_engine.so /tmp/wso2-wsf-
php-src-1.2.1/wsf_c/axis2c/axiom/src/om/.libs/.libs/libaxis2_axiom.so /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs/.libs/libaxis2_parser.so -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/util/.libs -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2
c/neethi/src/.libs -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/core/.libs -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/receiver/.libs -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/sender/.libs -Wl,-rpath -Wl,/tmp/
wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/src/.libs -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/engine/.libs -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/om/.libs -Wl,-rpath -Wl,/tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -Wl,-sona
me -Wl,wsf.so -o .libs/wsf.so
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/util/.libs/.libs/libneethi_util.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/.libs/.libs/libneethi.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/core/.libs/.libs/libmod_rampart.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/receiver/.libs/.libs/libaxis2_http_receiver.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/sender/.libs/.libs/libaxis2_http_sender.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/src/.libs/.libs/libaxutil.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/engine/.libs/.libs/libaxis2_engine.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/om/.libs/.libs/libaxis2_axiom.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs/.libs/libaxis2_parser.so: No such file or directory
make[2]: *** [wsf.la] Error 1
make[2]: Leaving directory `/tmp/wso2-wsf-php-src-1.2.1/src'
any ideas?

Dimuthu said...

Can your try rebuilding the source after cleaning everything
make distclean
./configure
make
make install

We experienced solving similar problems by with cleaning everything and building again

gag_72 said...

Did exactly that and still the same error.
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/util/.libs/.libs/libneethi_util.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/neethi/src/.libs/.libs/libneethi.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/rampartc/src/core/.libs/.libs/libmod_rampart.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/receiver/.libs/.libs/libaxis2_http_receiver.so: No such file or director
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/transport/http/sender/.libs/.libs/libaxis2_http_sender.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/util/src/.libs/.libs/libaxutil.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/src/core/engine/.libs/.libs/libaxis2_engine.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/om/.libs/.libs/libaxis2_axiom.so: No such file or directory
gcc: /tmp/wso2-wsf-php-src-1.2.1/wsf_c/axis2c/axiom/src/parser/libxml2/.libs/.libs/libaxis2_parser.so: No such file or directory

Really stuck.

Dimuthu said...

we will continue the discussion on http://wso2.org/forum/thread/3558

Antonio Musarra said...

Hi All,
try see this post Build RPM WSO2 WSF/PHP 2.1 per Zend Server 5

Bye,
Antonio M.