Wolfgang Fellenz wrote:

> I have been trying to install midgard 1.4.2-1 on my Linux box running
> with SuSE 7.3 on a PowerPC. I installed apache 1.3.23, mysql 3.23.47,
> glib 1.2.10 and expat 1.95.2 as described in the tutorial. I also
> completed the steps of the midgard manual for midgard-lib, midgard-data,
> mod_midgard and
> compiling midgard-php4 as a php4 module. When I run
> http://www.testhost.de:8102/asgard/ on my machine I get this error
> message:
>
> Warning: Unable to load dynamic library './midgard.so' - ./midgard.so:
> cannot open shared object file: No such file or directory in
> /usr/local/apache/libexec/midgard-root.php on line 12

The extension_dir in your php.in is set to './'. Change it to the return
value of 'php-config --extension-dir'. No idea why PHP ships with the
default value of ./.

> I tried to configure midgard-php4 as a module then:
>
> linux:~/midgard-php4-1.4.2-1 # ./mkall
>
> and get this error:
>
> apxs not in PATH
>
> I tried to supply the correct path
> --with-apxs=/usr/local/apache/bin/apxs but it still did not work fine.
> Is there anyone who can help?

1.4.2 needs apxs to be in your PATH, so:

$ PATH="$PATH:/usr/local/apache/bin/" ./mkall

The next release will support the --with-apxs flag (it's allready in
CVS).

Emile



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

Reply via email to