473,543 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_PAT H' 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 4270
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_PAT H' 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
2527
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 uncompress it and copy it to your php modules directory (you can find your php module directory by running php-config --extension-dir)
1
20604
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 = "c:/php/extensions/" But I am still getting the error that it can't find the php_mhash.dll though I can see that it is indeed in the folder.
19
13270
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 module and works well. I copied php_msql.dll to my system32 directory. Who knows what's wrong? Thanks a lot?
1
4719
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 Warning: PHP Startup: Unable to load dynamic library 'c:/php5/ext/php_ssh2.dll' - The specified module could not be found.\r\n in Unknown on line 0...
3
1455
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 phpinfo(), and it works great. The moment I activate mysql support, trying to execute the script results in a perpetual wait until timeout. I have...
9
4413
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 asp.net. The Xl sheet should not be opened in the browser. All the information from dataset(datatable,datarows) should be sent to XL and the file...
7
2903
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="*" path="*.sgf" type="CustomExtensionHandler, Extenders.CustomExtensionHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d831d925597c1031"...
1
1682
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 correctly and it is the correct version (8+)?
1
2746
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 code: <?php #phpinfo();
0
7336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7582
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7329
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7675
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5877
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3384
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3385
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1809
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
948
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.