[prev in list] [next in list] [prev in thread] [next in thread] 

List:       midgard-dev
Subject:    Re: [midgard-dev] undefined symbol: midgard_user_call_func
From:       Alexander Bokovoy <a.bokovoy () sam-solutions ! net>
Date:       2001-08-23 13:34:26
[Download RAW message or body]

For our developers:

This problem was solved by introducing current snapshot from
http://snaps.midgard-project.org / to David.

On Thu, Aug 23, 2001 at 11:18:44AM +0200, David wrote:
> 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: dev-unsubscribe@midgard-project.org
> For additional commands, e-mail: dev-help@midgard-project.org

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
byob, v:
	Believing Your Own Bull

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@midgard-project.org
For additional commands, e-mail: dev-help@midgard-project.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic