473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

installing dynamic extension: http

I am unable to get my downloaded extension from pecl to link up with
php
properly. seems like the php.so
I could not use pear install http. pear claimed the extension was
already
installed. that is certainly not true.

I downloaded the http extension from pecl.

cvs -d:pserver:cv*****@cvs.php.net:/repository co pecl/http

I did a phpize,
and configure. my zlibrary is old, so I said skip it.

../configure --without-http-zlib-compression

did a make - everthing compiled okay.

then I did a make install:
(actually sudo make install)
executing bashrc file
executing bashrc file
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20050922/
executing bashrc file
executing bashrc file
executing bashrc file
Installing header files: /usr/local/include/php/

then I tried make test
and got this:

libdev: make test
/bin/bash /users/es287/develop/pecl/pecl/http/libtool --mode=install cp
../http.la /users/es287/develop/pecl/pecl/http/modules
executing bashrc file
cp ./.libs/http.so /users/es287/develop/pecl/pecl/http/modules/http.so
chmod +x /users/es287/develop/pecl/pecl/http/modules/http.so
cp ./.libs/http.lai /users/es287/develop/pecl/pecl/http/modules/http.la
----------------------------------------------------------------------
Libraries have been installed in:
/users/es287/develop/pecl/pecl/http/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- use the `-RLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
executing bashrc file

executing bashrc file
Build complete.
executing bashrc file
(It is safe to ignore warnings about tempnam and tmpnam).
executing bashrc file

executing bashrc file

Warning: Unknown: Unable to load dynamic library 'modules/http.so' -
ld.so.1: /usr/local/bin/php: fatal: relocation error: file
modules/http.so: symbol OnUpdateBool: referenced symbol not found in
Unknown on line 0

Warning: Unknown: Unable to load dynamic library 'modules/http.so' -
ld.so.1: /usr/local/bin/php: fatal: relocation error: file
modules/http.so: symbol OnUpdateBool: referenced symbol not found in
Unknown on line 0

================================================== ===================
CWD : /develop/es287/pecl/pecl/http
PHP : /usr/local/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.1.4
ZEND_VERSION: 2.1.0
PHP_OS : SunOS - SunOS libdev 5.8 Generic_108528-23 sun4u
INI actual : /usr/local/lib/php.ini
More .INIs :
Extra dirs :
================================================== ===================
Running selected tests.
SKIP HttpMessage [tests/HttpMessage_001.phpt] reason: need ext/http
all the tests are skipped. Because the extension did not load
properly,
I assume.
Thanks a lot,
zippy

Sep 12 '06 #1
1 4256
sorry that my thinking did not match my writing very clearly.
I was trying to say, that there is some problem linking the php.so
that is loaded into apache, and the http.so file.
I don't actually know what happens in the apache environment - I have
not gotten any further than testing from the command line, as shown
below.

Zippy
zpinhead wrote:
I am unable to get my downloaded extension from pecl to link up with
php
properly. seems like the php.so
I could not use pear install http. pear claimed the extension was
already
installed. that is certainly not true.

I downloaded the http extension from pecl.

cvs -d:pserver:cv*****@cvs.php.net:/repository co pecl/http

I did a phpize,
and configure. my zlibrary is old, so I said skip it.

./configure --without-http-zlib-compression

did a make - everthing compiled okay.

then I did a make install:
(actually sudo make install)
executing bashrc file
executing bashrc file
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20050922/
executing bashrc file
executing bashrc file
executing bashrc file
Installing header files: /usr/local/include/php/

then I tried make test
and got this:

libdev: make test
/bin/bash /users/es287/develop/pecl/pecl/http/libtool --mode=install cp
./http.la /users/es287/develop/pecl/pecl/http/modules
executing bashrc file
cp ./.libs/http.so /users/es287/develop/pecl/pecl/http/modules/http.so
chmod +x /users/es287/develop/pecl/pecl/http/modules/http.so
cp ./.libs/http.lai /users/es287/develop/pecl/pecl/http/modules/http.la
----------------------------------------------------------------------
Libraries have been installed in:
/users/es287/develop/pecl/pecl/http/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- use the `-RLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
executing bashrc file

executing bashrc file
Build complete.
executing bashrc file
(It is safe to ignore warnings about tempnam and tmpnam).
executing bashrc file

executing bashrc file

Warning: Unknown: Unable to load dynamic library 'modules/http.so' -
ld.so.1: /usr/local/bin/php: fatal: relocation error: file
modules/http.so: symbol OnUpdateBool: referenced symbol not found in
Unknown on line 0

Warning: Unknown: Unable to load dynamic library 'modules/http.so' -
ld.so.1: /usr/local/bin/php: fatal: relocation error: file
modules/http.so: symbol OnUpdateBool: referenced symbol not found in
Unknown on line 0

================================================== ===================
CWD : /develop/es287/pecl/pecl/http
PHP : /usr/local/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.1.4
ZEND_VERSION: 2.1.0
PHP_OS : SunOS - SunOS libdev 5.8 Generic_108528-23 sun4u
INI actual : /usr/local/lib/php.ini
More .INIs :
Extra dirs :
================================================== ===================
Running selected tests.
SKIP HttpMessage [tests/HttpMessage_001.phpt] reason: need ext/http
all the tests are skipped. Because the extension did not load
properly,
I assume.
Thanks a lot,
zippy
Sep 12 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: eric | last post by:
Greetings! I've installed Apache 2.0.xx and PHP 4.3.2. I want to use Ming as a module to PHP. The instructions that came with Ming say to: as a php module (unix) download php_ming.so.gz...
1
by: Stefan | last post by:
Hi, I just downloaded PHP-4.3.3 for win32 and got the extensions folder and dropped it intot he root of the PHP directory and set it's path in the PHP.ini: extension_dir =...
19
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php...
1
by: Janne Vuori | last post by:
I have Apache 2.0.54 and PHP 5.0.4 running on XP Professional. Everything is working ok but when I am tryin to add the extension php_ssh2.dll into use the PHP will generate an error message: PHP...
3
by: Ben Hallert | last post by:
Hi there! I've set up PHP 5.0.5.5 on an Windows 2003 system running IIS (yes yes, have I considered Apache? Unable, other factors at play). I wrote a simple test PHP that does nothing but...
9
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
1
by: Paul Watson | last post by:
I cannot yet get tkinter working on 2.4.2. I have installed the tk rpms from FC4. I have checked to see that TKPATH is available in Modules/Setup. How can I verify that I have tcl/tk installed...
1
by: Victor | last post by:
Hi, 1. I'm a PHP newbie looking for some help with the SVN PHP extension. I installed the SVN extension in Mac OS 10.5 (Leopard) using the PEAR command line. 2. Whenever I ran the following...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.