Problem Apache2 + libphp4.so auf AIX5.2

Hallo Newsgroup,

ich versuche auf einem AIX System php zum laufen zu bekommen. Apache2
mit so Support, freetype, libpng und php4 als cli - Version
funtionieren, wenn ich php4 als Modul für den Apache Kompiliere gibt es
Probleme mit dem Modul:

<snip>
ldd php-4.3.8/.libs/libphp4.so
php-4.3.8/.libs/libphp4.so needs:
/usr/lib/libc.a(shr.o)
Cannot find /usr/lib/librtl.a(shr.o)
Cannot findCannot find /unix
/usr/lib/libcrypt.a(shr.o)
</snip>

OS: AIX 5.2
gcc version 3.3.2
gnumake, binutils, flex .....

Ich habe auch schon verschiedene Versionen von php ausprobiert, ohne Erfolg.

Kennt Jemand die Lösung des Problems?

Danke,
Stefan
Stefan Haub [ Do, 10 Februar 2005 22:58 ] [ ID #637340 ]

Re: Problem Apache2 + libphp4.so auf AIX5.2

Am Thu, 10 Feb 2005 22:58:33 +0100 schrieb Stefan Haub:

> Cannot findCannot find /unix
> /usr/lib/libcrypt.a(shr.o)

Ist den das crypt-Lib(Dev) Packet installiert?
Mit welchen configure Optionen willst Du kompilieren?

MfG, Ulf
Ulf Kadner [ Mo, 14 Februar 2005 15:07 ] [ ID #643470 ]

Re: Problem Apache2 + libphp4.so auf AIX5.2

Hallo Ulf,

hier die configure Optionen:

CFLAGS="-L/svc/src/static/libpng/lib \
-I/svc/src/static/libpng/include \
-L/svc/src/static/gd/lib \
-I/svc/src/static/gd/include"

../configure --prefix=/opt/opsperf/php4 \
--disable-cli \
--without-pear \
--with-apxs2=/opt/opsperf/apache2/bin/apxs \
--with-regex=php \
--with-config-file-path=/opt/opsperf/php4/conf \
--disable-debug \
--enable-memory-limit \
--with-layout=GNU \
--enable-calendar \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-bcmath \
--enable-ctype \
--with-iconv \
--enable-exif \
--enable-filepro \
--enable-ftp \
--with-gettext \
--enable-mbstring \
--enable-shmop \
--enable-sockets \
--enable-gd-native-ttf \
--with-zlib=/svc/src/static/zlib \
--without-pgsql \
--with-mysql \
--with-gd=/svc/src/static/gd \
--with-png-dir=/svc/src/static/libpng \
--with-freetype-dir=/svc/src/static/freetype

die Libs sind auch vorhanden:

<snip>
# ldd libphp4.so
libphp4.so needs:
/usr/lib/libc.a(shr.o)
Cannot find /usr/lib/librtl.a(shr.o)
Cannot findCannot find /unix
/usr/lib/libcrypt.a(shr.o)

# ll /usr/lib/libcrypt.a
-r-xr-xr-x 1 bin bin 10993 Apr 06 2004 /usr/lib/libcrypt.a

# ll /usr/lib/librtl.a
lrwxrwxrwx 1 bin bin 21 Jul 30 2004
/usr/lib/librtl.a -> /usr/ccs/lib/librtl.a
</snip>

wie gesagt, als cli Version funktioniert alles.

Dake Stefan

Ulf Kadner wrote:
> Am Thu, 10 Feb 2005 22:58:33 +0100 schrieb Stefan Haub:
>
>
>>Cannot findCannot find /unix
>> /usr/lib/libcrypt.a(shr.o)
>
>
> Ist den das crypt-Lib(Dev) Packet installiert?
> Mit welchen configure Optionen willst Du kompilieren?
>
> MfG, Ulf
Stefan Haub [ Di, 15 Februar 2005 19:39 ] [ ID #645596 ]

Re: Problem Apache2 + libphp4.so auf AIX5.2

Hallo Ulf,

habe den ganzen Spass nochmal gegen den Apache 1.3.33 kompiliert, das
funktioniert! Liegt vielleicht am Apache2.

Gruss

Stefan

Ulf Kadner wrote:
> Am Thu, 10 Feb 2005 22:58:33 +0100 schrieb Stefan Haub:
>
>
>>Cannot findCannot find /unix
>> /usr/lib/libcrypt.a(shr.o)
>
>
> Ist den das crypt-Lib(Dev) Packet installiert?
> Mit welchen configure Optionen willst Du kompilieren?
>
> MfG, Ulf
Stefan Haub [ Di, 15 Februar 2005 20:40 ] [ ID #645597 ]
PHP » de.comp.lang.php.installation » Problem Apache2 + libphp4.so auf AIX5.2

Vorheriges Thema: Re: Wie realisiere ich eine selbstaktualisierende Uhr in PHP?
Nächstes Thema: PHP 5 Installation....