PHP on a Solaris 9 host - library issue perhaps

[email protected] (Kevin)
Newsgroups php.install
Message-ID <[email protected]>
Hi:

I am trying to install PHP 5 on a Sun Solaris 9 host and have been
trying to resolve a library problem. I got the PHP 5 package from
SunFreeware.com web site. I am running the late version gcc (3.4.46).

I think the issue that the libphp5.so is looking for a version of
libc.so.1 that is not the version on the host.

Is the solution to compile php directly and not use the package from
sunfreeware.com?

Thanks.

Kevin

PS: please reply directly.


# ldd /usr/local/apache2/modules/libphp5.so
        librt.so.1 =>    /usr/lib/librt.so.1
        libmysqlclient.so.15 =>
/usr/local/mysql/lib/mysql/libmysqlclient.so.15
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.2 =>     /usr/lib/libm.so.2
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libz.so =>       /usr/local/lib/libz.so
        libxml2.so.2 =>  /usr/local/lib/libxml2.so.2
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libc.so.1 =>     /usr/local/lib/libc.so.1
        libc.so.1 (SUNW_1.22) =>         (version not found)
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libmd5.so.1 =>   /usr/lib/libmd5.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libssl.so.0.9.8 =>       /usr/local/lib/libssl.so.0.9.8
        libcrypto.so.0.9.8 =>    /usr/local/lib/libcrypto.so.0.9.8
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
        /usr/platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.