Henri Bergius wrote:

> The RPM installation of Apache (apache-1.3.12-2) for Red Hat 6.2
> seems to fail loading RPM-installed version of Midgard (midgard-1.4-1).
> 
> # /usr/sbin/httpd
> Syntax error on line 1 of /etc/httpd/conf/midgard.conf:
> Cannot load /usr/modules/mod_midgard.so into server:
> /usr/modules/mod_midgard.so: cannot open shared object file: No such
> file or directory

My guess is that the ServerRoot is set wrong. RedHat does some truly
awful things with the apache setup in an attempt to shoehorn it in
their FS layout (and fails at that). Try setting ServerRoot to
/etc/httpd -- I thought that was the default for RH62

> Syntax error on line 7 of /etc/httpd/conf/midgard.conf:
> Invalid command 'AddType', perhaps mis-spelled or defined by a module
> not included in the server configuration

AddType is handled by mod_mime I think. This message indicates that
the module is not active.

> MySQL package in use is MySQL-3.23.33-1, MySQL-client-3.23.33-1,
> MySQL-devel-3.23.33-1
> MySQL-shared-3.23.33-1
> 
> When I try to recompile midgard-lib, it fails with:
> 
> checking for library containing mysql_connect... no
> configure: error: You need libmysqlclient

Try giving the explicit path --with-mysql=

> This would suggest linking problems. Running ldd for libphp3.so
> gives the following:
> 
> # ldd /usr/lib/apache/libphp3.so 
>       libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x400d4000)
>       libmidgard.so.3 => /usr/lib/libmidgard.so.3 (0x400da000)
>       libpam.so.0 => /lib/libpam.so.0 (0x400f7000)
>       libm.so.6 => /lib/libm.so.6 (0x400ff000)
>       libdl.so.2 => /lib/libdl.so.2 (0x4011d000)
>       libcrypt.so.1 => /lib/libcrypt.so.1 (0x40121000)
>       libresolv.so.2 => /lib/libresolv.so.2 (0x4014f000)
>       libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4015e000)
>       libc.so.6 => /lib/libc.so.6 (0x40181000)
>       libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0x40276000)
>       libz.so.1 => /usr/lib/libz.so.1 (0x40293000)
>       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

This should also have shown libmysqlclient.

Emile


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

Reply via email to