DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Coding
  3. Frameworks
  4. How to Install WSO2 WSF/PHP on Ubuntu

How to Install WSO2 WSF/PHP on Ubuntu

Pradeeban Kathiravelu user avatar by
Pradeeban Kathiravelu
·
May. 02, 12 · Interview
Like (1)
Save
Tweet
Share
7.48K Views

Join the DZone community and get the full member experience.

Join For Free
This is discussed at http://wso2.org/project/wsf/php/2.1.0/docs/install_guide.html. However, I was informed that there are some issues in following the steps as discussed. Hence I am elaborating the steps a bit further, addressing the issues reported.
 

Download WSO2 WSF/PHP.
To install, you will need OpenSSL and PHP-5.2.0 or later - the dev version.
 

sudo apt-get install openssl
 

Installing PHP5
    sudo apt-get install apache2
    sudo apt-get install php5
    sudo apt-get install libapache2-mod-php5
    sudo apt-get install php5-cli
    sudo /etc/init.d/apache2 restart
 

Now ./configure.
 

You might encounter the below issue, if you haven't given the path of php5 to configure.
 

pradeeban@pradeeban:~/wso2/wso2-wsf-php-src-2.1.0$ ./configure
./configure: line 755: php-config: command not found

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
./configure: line 20203: --extension-dir: command not found
checking for dlopen in -ldl... yes
checking for inflate in -lz... yes
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking for linux/if.h... yes
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking sys/appleapiopts.h usability... no
checking sys/appleapiopts.h presence... no
checking for sys/appleapiopts.h... no
checking whether to build rampart ... yes
checking whether to build libxml2 xml parser library... checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
no
checking whether to build guththila xml parser library... no
checking whether to use apache2 as server transport... no
checking whether to use apr. Note that if you build with apache2 you might need to do this.... no
checking whether to build tests... no
checking whether to enable trace... no
checking whether to enable multi threading... yes
checking whether to use openssl... yes
checking whether to build dynamic invocation client library... yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing wsf commands
config.status: executing php commands
./config.status: line 1235: phpize: command not found
=== configuring in src (/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/wsf_c'  --cache-file=/dev/null --srcdir=.
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
configure: error: ./configure failed for src
 
 
You can fix this by using, 
./configure --with-php-config=/usr/bin/php5
 
 
Now you can go ahead and "make". However, make sure that you have php5 dev-version for building. Otherwise, it will fail as below.
 
 
make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c'
Making all in src
make[2]: Entering directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
/bin/bash /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/libtool --mode=compile cc  -I. -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src -DPHP_ATOM_INC -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/main -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src Usage: php5 [options] [-f] [--] [args...] php5 [options] -r [--] [args...] php5 [options] [-B ] -R [-E ] [--] [args...] php5 [options] [-B ] -F [-E ] [--] [args...] php5 [options] -- [args...] php5 [options] -a -a Run as interactive shell -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse and execute . -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -r Run PHP without using script tags -B Run PHP before processing input lines -R Run PHP for every input line -F Parse and execute for every input line -E Run PHP after processing all input lines -H Hide any passed arguments from external tools. -s Output HTML syntax highlighted source. -v Version number -w Output source with stripped comments and whitespace. -z Load Zend extension . args... Arguments passed to script. Use -- args when first argument starts with - or script is read from stdin --ini Show configuration file names --rf Show information about function . --rc Show information about class . --re Show information about extension . --ri Show configuration for extension . -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/wsf.c -o wsf.lo
/bin/bash: -c: line 0: syntax error near unexpected token `<'
/bin/bash: -c: line 0: `/bin/bash /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/libtool --mode=compile cc  -I. -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src -DPHP_ATOM_INC -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/main -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src Usage: php5 [options] [-f] [--] [args...] php5 [options] -r [--] [args...] php5 [options] [-B ] -R [-E ] [--] [args...] php5 [options] [-B ] -F [-E ] [--] [args...] php5 [options] -- [args...] php5 [options] -a -a Run as interactive shell -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse and execute . -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -r Run PHP without using script tags -B Run PHP before processing input lines -R Run PHP for every input line -F Parse and execute for every input line -E Run PHP after processing all input lines -H Hide any passed arguments from external tools. -s Output HTML syntax highlighted source. -v Version number -w Output source with stripped comments and whitespace. -z Load Zend extension . args... Arguments passed to script. Use -- args when first argument starts with - or script is read from stdin --ini Show configuration file names --rf Show information about function . --rc Show information about class . --re Show information about extension . --ri Show configuration for extension . -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/wsf.c -o wsf.lo '
make[2]: *** [wsf.lo] Error 1
make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0'
make: *** [all] Error 2
 
 
This is because of the missing phpize.
 


sudo apt-get install php-pear
sudo apt-get install php5-dev
 
 

Now you can "make" and "make install". You might have to "sudo make" and "sudo make install" based on the permission and the preferred location.
 
 
 
If "make" fails as,
make[3]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c'
make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c'
Making all in src
make[2]: Entering directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
/bin/bash /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/libtool --mode=link cc -DPHP_ATOM_INC -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/main -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -o wsf.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/modules  wsf.lo wsf_xml_msg_recv.lo wsf_util.lo wsf_stream.lo wsf_worker.lo wsf_out_transport_info.lo wsf_client.lo wsf_policy.lo wsf_wsdl.lo -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -lsandesha2_client -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -lneethi_util -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -lneethi -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -lmod_rampart -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -laxis2_http_receiver -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -laxis2_http_sender -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -laxutil -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -laxis2_engine -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -laxis2_axiom -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -laxis2_parser
libtool: link: cc -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,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -Wl,-rpath -Wl,/usr/lib/php5/20090626/wsf_c/lib -Wl,-rpath -Wl,/usr/lib/php5/20090626/wsf_c/modules/rampart -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs/libsandesha2_client.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs/libneethi_util.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs/libneethi.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs/libmod_rampart.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs/libaxis2_http_receiver.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs/libaxis2_http_sender.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs/libaxutil.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs/libaxis2_engine.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs/libaxis2_axiom.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -laxis2_parser  -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs   -Wl,-soname -Wl,wsf.so -o .libs/wsf.so
/usr/bin/ld: cannot find -laxis2_parser
collect2: ld returned 1 exit status
make[2]: *** [wsf.la] Error 1
make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0'
make: *** [all] Error 2

Export the path of wsf_c/lib.

export LD_LIBRARY_PATH=/usr/lib/php5/20090626/wsf_c/lib/
 
 
This will fix the make issues. Now you should be able to make and make install.
 
 
Edit /etc/php5/apache2/php.ini
Add the lines, 
extension=wsf.so
extension=xsl.so
Directory Build (game engine) PHP Sudo Command (computing) ubuntu

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Spring Boot, Quarkus, or Micronaut?
  • REST vs. Messaging for Microservices
  • HTTP vs Messaging for Microservices Communications
  • Fargate vs. Lambda: The Battle of the Future

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: