ID:               14147
 Updated by:       [EMAIL PROTECTED]
-Reported By:      [EMAIL PROTECTED]
+Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Solaris 8 sun4u
 PHP Version:      4.0.6
 New Comment:

The comment below claims that this problem is to be fixed in upcoming
versions, "including the upcoming 4.1.0 release." However, I just built
4.1.1 on Solaris 8 and had this very problem. Adding '--with-zlib'
still fixes it. But apparently this problem still isn't fixed in the
release...


Previous Comments:
------------------------------------------------------------------------

[2001-11-20 21:42:17] [EMAIL PROTECTED]

That worked, thanks!

Solaris 8 users, notice that zlib is now distributed with sun.  Just
add --with-zlib and you're done!

Thanks a billion, php team!

------------------------------------------------------------------------

[2001-11-20 20:36:21] [EMAIL PROTECTED]


Okay, so I just got this, but I don't know what it means yet.

# ldd -d /usr/local/apache/libexec/libphp4.so
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
        symbol not found: uncompress           
/usr/local/apache/libexec/libphp4.so)
        symbol not found: compress            
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_block_alarms              
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_unblock_alarms            
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_user_name         
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_max_requests_per_child           
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_server_root               
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_user_id           
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_group_id          
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: top_module           
(/usr/local/apache/libexec/libphp4.so)

------------------------------------------------------------------------

[2001-11-20 12:12:48] [EMAIL PROTECTED]

You should add --with-zlib, as the MySQL extension requires it. THis is
fixed in newer versions, including the upcoming 4.1.0 release.

Derick

------------------------------------------------------------------------

[2001-11-20 10:29:08] [EMAIL PROTECTED]


Okay, so I just got this, but I don't know what it means yet.

# ldd -d /usr/local/apache/libexec/libphp4.so
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
        symbol not found: uncompress           
/usr/local/apache/libexec/libphp4.so)
        symbol not found: compress            
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_block_alarms              
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_unblock_alarms            
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_user_name         
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_max_requests_per_child           
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_server_root               
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_user_id           
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: ap_group_id          
(/usr/local/apache/libexec/libphp4.so)
        symbol not found: top_module           
(/usr/local/apache/libexec/libphp4.so)

------------------------------------------------------------------------

[2001-11-20 08:35:19] [EMAIL PROTECTED]

Compiling the latest stable PHP4 and Apache with gcc on a Solaris 8 box
goes without a hitch, only to have this fatal error when I try to run
it(them):

bash-2.03# /usr/local/apache/bin/apachectl configtest Syntax error on
line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libphp4.so: symbol uncompress: referenced
symbol not found

PHP compile flags:
"./configure" \
"--with-imap=../imap-2001a.RELEASE-CANDIDATE.4/" \
"--with-mysql=/usr/local/mysql" \
"--with-apxs=/usr/local/apache/bin/apxs" \
"--enable-libgcc" \

Apache compile flags:
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--logfiledir=/var/log" \
"--enable-module=rewrite" \
"--enable-module=info" \
"--enable-module=so" \
"--enable-shared=max" \
"--enable-rule=SHARED_CORE" \

I tried some of the fixes in similar bug reports to no avail.
(SHARED_CORE in Apache, enable-libgcc, added /usr/local/lib/ to
Solaris' linker path, installed bison and flex)  I don't know what the
heck uncompress is, so for kicks, I also tried to --disable-zlib, but
the `configure` results were the same, stating that there would be no
zlib support.  I wish I knew how to fix this, but hey, that what you
insanely genius coders are for!


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=14147&edit=1

Reply via email to