I have a problem with midgard-php4-1.4.1-7 :
All the build is OK with mkall but when I start Apache PHP says :

PHP Warning:  Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20001222/midgard.so' -
/usr/local/lib/php/extensions/no-debug-non-zts-20001222/midgard.so:
undefined symbol: midgard_user_call_func in Unknown on line 0

I think it's a dynamic linking problem but I don't understand how to solve
it. An ldd on midgard.so gives this :
[root@rothko bin]# ldd
/usr/local/lib/php/extensions/no-debug-non-zts-20001222/midgard.so
        libc.so.6 => /lib/libc.so.6 (0x40056000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

The Midgard's FAQ says :
The PHP build environment has been in flux since 4.0.4pl1. You can work
around this particular problem by adding "export CFLAGS=$HACK_CFLAGS" after
the HACK_CFLAGS line in mkall.

I don't understand this because my mkall is like this :

#!/bin/sh

[ "x$1" != "x" ] && MIDGARD_PATH="=$1"

[ -f Makefile ] && make distclean
rm -f preparser-scanner.c preparser-parser.c preparser-parser.h
phpize && ./configure --with-midgard$MIDGARD_PATH && make install

I can't find any HACK_CFLAGS line in mkall !
So what can I do ??

Can you help me, please ?...
Thanks

My configuration :
PHP 4.0.6
midgard-lib : 1.4.1-5
mod-midgard : 1.4.1-5
midgard-php4-1.4.1-7
Linux Mandrake 8.0 Power Pack
Apache 1.3.20
MySQL 3.23.41

David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to