Hi,

> > 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
> > /usr/local/apache/libexec/midgard-root.php on line 12
> >
> I put the export statement into my shell script which calls mkall and it
> still doesn't work???????
> 
> This is REALLY frustrating as I can't work on billable stuff until I get
> this working.  It was working fine.  mkall seems to be working correctly, it
> puts a midgard.so into the no-debug(etc.) directory.......any other ideas?

have a look at midgard.so, if it finds all libs. "ldd midgard.so" should
show you:
        libmidgard.so.5 => /usr/local/lib/libmidgard.so.5 (0x4006e000)
        libc.so.6 => /lib/libc.so.6 (0x40082000)
        libmysqlclient.so.10 =>
/usr/local/mysql/lib/mysql/libmysqlclient.so.10 (0x4019f000)
        libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0x401bb000)
        libm.so.6 => /lib/libm.so.6 (0x401d9000)
        libz.so.1 => /lib/libz.so.1 (0x401f8000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40207000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40235000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4025a000)

If that is not the case, try export LD_RUN_PATH="where you libs are" ldd
midgard.so 

If everything is at the right place have a look with nm.
nm midgard.so |grep midgard_user should show you:
0000d920 T midgard_user_call_func

Same to mod_midgard.so, "ldd mod_midgard.so" , all libs found?? If not fix
it in /etc/ld.so.conf or with LD_RUN_PATH. 

And, btw, the main error is "Unable to load dynamic library" and not
"undefined symbol", i think, so get that library loaded.

so before stopping us working on billable stuff read some stuff about it
(perhabs the listarchive or some man pages) and try to track down the error. 


regards Martin

-- 
  mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'`
----------------------------------------------------------------
  C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL
----------------------------------------------------------------

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

Reply via email to