On Sat, Apr 14, 2001 at 09:39:55PM +0200, Matthias Gelbhardt wrote:
> Hi!
>
> I got the same error again:
> PHP Warning: Unable to load dynamic library
> '/usr/lib/php4/extensions/no-debug-non-zts-20001222/midgard.so' -
> /usr/lib/php4/extensions/no-debug-non-zts-20001222/midgard.so: undefined
> symbol: midgard_user_call_func in Unknown on line 0
> [Sat Apr 14 21:41:42 2001] [warn] NameVirtualHost 212.124.61.242:80 has no
> VirtualHosts
> PHP Warning: Unable to load dynamic library
> '/usr/lib/php4/extensions/no-debug-non-zts-20001222/midgard.so' -
> /usr/lib/php4/extensions/no-debug-non-zts-20001222/midgard.so: undefined
> symbol: midgard_user_call_func in Unknown on line 0
> [Sat Apr 14 21:41:42 2001] [notice] Apache/1.3.19 (Unix) Debian/GNU
> Midgard/1.4.1/SG PHP/4.0.5RC6 configured -- resuming normal operations
> [Sat Apr 14 21:41:42 2001] [notice] suEXEC mechanism enabled (wrapper:
> /usr/lib/apache/suexec)
>
> Can I supply any additional informations to locate the error?
Spent some time and found an error already known to me. It is known bug
of PHP4 post-4.0.5RC3 -- it doesn't defines properly HAVE_FOO and
COMPILE_DL_FOO for extensions compiled through phpize as Self-Contained
Extensions (SCE). Use following to compile:
export CFLAGS="$CFLAGS -DHAVE_MIDGARD=1 -DCOMPILE_DL_MIDGARD=1"
./mkall
First line is really needed. I've never experienced this error since
middle of March because my SPEC-files for PHP4 modules automatically
provide it to module which is subject to build.
I'll update mkall in CVS to do so by default.
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | ALT Linux Team | Minsk Linux Users Group
www.midgard-project.org | www.altlinux.ru | www.minsk-lug.net
-- You won't skid if you stay in a rut.
-- Frank Hubbard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]