Package: php4
Version: 4:4.3.10-16
Severity: normal


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12-ibm1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages php4 depends on:
ii  libapache-mod-php4           4:4.3.10-16 server-side, HTML-embedded scripti
ii  php4-common                  4:4.3.10-16 Common files for packages built fr

-- no debconf information

I did:
> apt-get source php4
> cd php4-4.3.10/etc/informix/
> export INFORMIXDIR=/opt/informix
> phpize
[...]
> ./configure
[...]
> make
/bin/sh /root/dev/php4-4.3.10/ext/informix/libtool --mode=link 
gcc /opt/informix/lib/esql/checkapi.o -o libphpifx.a
mkdir .libs
ar cru libphpifx.a 
ranlib libphpifx.a
[...]
> cp module/informix.so /usr/lib/php4/2*/

The resulting module/informix.so segfaults the apache with 
/usr/sbin/apache: relocation error: /opt/informix/lib/esql/libifsql.so:\ 
undefined symbol: ifx_checkAPI

The problem seems to be, that libtool discards the checkapi.o parameter
for the ar call, so that an empty libphpifx.a is created. After calling

  ar cru libphpifx.a /opt/informix/lib/esql/checkapi.o

by hand and re-making, the informix.so module works fine for me. (Don't
ask me, how long it took for me to find out...)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to