php-install Digest 27 Dec 2001 20:55:39 -0000 Issue 622

Topics (messages 5392 through 5394):

libphp4.so > undefined symbol: uncompressed
        5392 by: andrew

Re: Apache 2
        5393 by: Stephano Mariani

Apache 2.0.28 and PHP4.1's start_session() call.
        5394 by: Sander Smeenk

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello,

After reading alot of the information in this newsgroup and finding
another person with exactly the same problem, and trying several of
the fixes recommended, I am at a loss on how to correct my problem.

So far:

Apache 1.3.12-25 installed by rpm
MySQL-Max-3.23.46 installed by rpm

Built PHP4 with
./configure --with-mysql=/opt/bin/mysql-max-3.23.46 --with-apxs
and verifying that httpd.conf has the AddType application.... line, and
when I start the server I get:

[andrew@fremont local]# httpd start
    Syntax error on line 912 of /etc/httpd/conf/httpd.conf:
    Cannot load /usr/lib/apache/libphp4.so into server: undefined 
symbol:
    uncompress

Line 912 from httpd.conf file:
    LoadModule php4_module        /usr/lib/apache/libphp4.so

    - the path to the module is correct.

Following recommendation in some other posting, I ran:

[andrew@fremont bin]$ ldd -r /usr/lib/apache/libphp4.so
         libdl.so.2 => /lib/libdl.so.2 (0x4013b000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x4013e000)
         libresolv.so.2 => /lib/libresolv.so.2 (0x4016b000)
         libpam.so.0 => /lib/libpam.so.0 (0x4017d000)
         libm.so.6 => /lib/libm.so.6 (0x40185000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x401a4000)
         libc.so.6 => /lib/libc.so.6 (0x401bc000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: uncompress    (/usr/lib/apache/libphp4.so)
undefined symbol: compress      (/usr/lib/apache/libphp4.so)
undefined symbol: ap_block_alarms       (/usr/lib/apache/libphp4.so)
undefined symbol: ap_unblock_alarms     (/usr/lib/apache/libphp4.so)
undefined symbol: ap_user_id    (/usr/lib/apache/libphp4.so)
undefined symbol: ap_server_root        (/usr/lib/apache/libphp4.so)
undefined symbol: ap_group_id   (/usr/lib/apache/libphp4.so)
undefined symbol: ap_user_name  (/usr/lib/apache/libphp4.so)
undefined symbol: top_module    (/usr/lib/apache/libphp4.so)
undefined symbol: ap_max_requests_per_child (/usr/lib/apache/libphp4.so)
undefined symbol: ap_table_get  (/usr/lib/apache/libphp4.so)
undefined symbol: ap_update_mtime       (/usr/lib/apache/libphp4.so)
undefined symbol: ap_kill_timeout       (/usr/lib/apache/libphp4.so)
undefined symbol: ap_uudecode   (/usr/lib/apache/libphp4.so)
undefined symbol: ap_setup_client_block (/usr/lib/apache/libphp4.so)
undefined symbol: ap_add_cgi_vars       (/usr/lib/apache/libphp4.so)
undefined symbol: ap_getword    (/usr/lib/apache/libphp4.so)
undefined symbol: ap_getword_nulls_nc   (/usr/lib/apache/libphp4.so)
undefined symbol: ap_destroy_sub_req    (/usr/lib/apache/libphp4.so)
undefined symbol: ap_pstrdup    (/usr/lib/apache/libphp4.so)
undefined symbol: ap_log_error  (/usr/lib/apache/libphp4.so)
undefined symbol: ap_table_add  (/usr/lib/apache/libphp4.so)
undefined symbol: ap_sub_req_lookup_uri (/usr/lib/apache/libphp4.so)
undefined symbol: ap_run_sub_req        (/usr/lib/apache/libphp4.so)
undefined symbol: ap_register_cleanup   (/usr/lib/apache/libphp4.so)
undefined symbol: ap_signal     (/usr/lib/apache/libphp4.so)
undefined symbol: ap_send_http_header   (/usr/lib/apache/libphp4.so)
undefined symbol: ap_block_alarms       (/usr/lib/apache/libphp4.so)
undefined symbol: ap_child_terminate    (/usr/lib/apache/libphp4.so)
undefined symbol: ap_set_etag   (/usr/lib/apache/libphp4.so)
undefined symbol: ap_rwrite     (/usr/lib/apache/libphp4.so)
undefined symbol: ap_table_set  (/usr/lib/apache/libphp4.so)
undefined symbol: ap_get_client_block   (/usr/lib/apache/libphp4.so)
undefined symbol: ap_add_version_component      (/usr/lib/apache/libphp4.so)
undefined symbol: ap_hard_timeout       (/usr/lib/apache/libphp4.so)
undefined symbol: ap_rflush     (/usr/lib/apache/libphp4.so)
undefined symbol: ap_set_last_modified  (/usr/lib/apache/libphp4.so)
undefined symbol: ap_reset_timeout      (/usr/lib/apache/libphp4.so)
undefined symbol: ap_unblock_alarms     (/usr/lib/apache/libphp4.so)
undefined symbol: ap_add_common_vars    (/usr/lib/apache/libphp4.so)

So what is the problem, as it has been indicated that it is related to
MySQL, and what is my next step to fix the problem?

Any assistance is appreciated.

Andrew Schoenherr

--- End Message ---
--- Begin Message ---
Get cygwin 1.3.6!

Stephano Mariani

-----Original Message-----
From: Marios Karagiannopoulos [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 25 December 2001 10:28
To: 'Nicolas DEFFAYET (NDSoftware)'; [EMAIL PROTECTED]
Subject: RE: [PHP-INST] Apache 2


Hi,

I am trying to compile using gcc, in CYGWIN, the new PHP4.1.0 but I got
The results below:


D:\cygnus\cygwin-b20>bash
BASH.EXE-2.02$ cd /
BASH.EXE-2.02$ cd tmp/php-4.1.0
BASH.EXE-2.02$ make install
Making install in Zend
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in main
gcc -I. -I/tmp/php-4.1.0/main -I/tmp/php-4.1.0/main -I/tmp/php-4.1.0
-I/tmp/php-
4.1.0/Zend -I/usr/local/include -I/tmp/php-4.1.0/ext/mysql/libmysql
-I/tmp/php-4
.1.0/ext/xml/expat  -I/tmp/php-4.1.0/TSRM -g -O2  -c main.c && touch
main.lo In file included from \tmp\php-4.1.0\TSRM\tsrm_virtual_cwd.h:45,
                 from php.h:303,
                 from main.c:26:
\tmp\php-4.1.0\TSRM\readdir.h:22: `_MAX_FNAME' undeclared here (not in a
functio
n)
\tmp\php-4.1.0\TSRM\readdir.h:22: size of array `d_name' has non-integer
type
\tmp\php-4.1.0\TSRM\readdir.h:31: field `fileinfo' has incomplete type
In file included from php.h:303,
                 from main.c:26:
\tmp\php-4.1.0\TSRM\tsrm_virtual_cwd.h:48: conflicting types for
`mode_t'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/types.h:113: previous declaration of
`mode_t' In file included from
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin
32\egcs-2.91.57\..\..\..\..\i586-cygwin32\include\dirent.h:4,
                 from php_reentrancy.h:27,
                 from php.h:312,
                 from main.c:26:
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:11: redefinition of `struct
dirent'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:39: conflicting types for `DIR'
\tmp\php-4.1.0\TSRM\readdir.h:34: previous declaration of `DIR'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:41: conflicting types for
`opendir'
\tmp\php-4.1.0\TSRM\readdir.h:37: previous declaration of `opendir'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:42: conflicting types for
`readdir'
\tmp\php-4.1.0\TSRM\readdir.h:38: previous declaration of `readdir'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:43: conflicting types for
`rewinddir'
\tmp\php-4.1.0\TSRM\readdir.h:41: previous declaration of `rewinddir'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:44: conflicting types for
`closedir'
\tmp\php-4.1.0\TSRM\readdir.h:40: previous declaration of `closedir'
make[2]: *** [main.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
BASH.EXE-2.02$


Do you know something about it?
Thanks


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]



--- End Message ---
--- Begin Message ---
Hi,

** This has also been posted on Apache-users mailinglist **

I'm using Apache 2.0.28 on my server to serve webpages, and recently
wanted to use 'Squirrelmail', a PHP-based online mail-reader.
I installed php 4.1.0 and got everything set up right for Squirrelmail
to work. And then this happens:

When I visit the site with browsers like lynx, w3m or links, I get the
important PHPSES cookie set and can normally log in and read mail, but
when I try visiting the site with Mozilla or Opera the PHPSES cookie 
won't be set, so Squirrelmail won't allow me in, because it doesn't know
who I am.

Now I don't know if this is PHP related or Apache2 related, but I think
it's Apache2 because of this 'test script' I made:

-----------------------------------------------------------------------
<?php

session_set_cookie_params (0, '/');
session_start();
setcookie('blaat', 'urf', time()+3600, '/');
echo "<BODY><CENTER>php test</CENTER></BODY>"

?>
-----------------------------------------------------------------------

As located on http://www.smeenk.biz/phptest.php.

The script parses, compiles and runs fine, the output 'php test' shows
up, and I get the blaat=urf cookie in every browser I use. But the
PHPSES cookie only shows when using text-based browsers.

Can someone tell me why the PHPSES cookie only shows up with text-based
browsers, and not when using GUI-browsers?

Kind regards,
Sander Smeenk.

-- 
| She doesn't know what she's missing...
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
--- End Message ---

Reply via email to