[Mono-list] Problem with libmod_mono.so

beniniva@csr.unibo.it beniniva@csr.unibo.it
Wed, 30 Jun 2004 15:17:15 +0200


Hi,

I've Fedora Core 2 and Mono Beta3. I've downloaded all the rpm packages
availability on http://www.go-mono.com/download.html.
I've been trying to get Asp.Net and Apache to work together whit mod-mono but
I've some problems.
 
Apache config file:
 
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
LoadModule mod_module /usr/lib/httpd/modules/libmod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /mono "/usr/share/doc/xsp/test"
 
This is the error I got when I lunch "apachectl start":
 
Syntax error on line 201 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/httpd/modules/libmod_mono.so into server:
/usr/lib/httpd/modules/libmod_mono.so: cannot open shared object file: No such
file or directory
 
 
Why I've not libmod_mono.so?
 
 
I also try to install mod_mono-0.11.tar.gz but..
 
[root@or2 mod_mono-0.11]# ./configure --prefix=/usr
.
.
creating libtool
checking if building mod_mono_old is requested... no
checking for --with-apxs... no
checking for --with-apr-config... not specified
checking for apxs2 in /usr/local/apache/sbin... no
checking for apxs in /usr/local/apache/sbin... no
checking for apr-config in /usr/local/apache/sbin... no
checking for apxs2 in /usr/local/apache2/bin... no
checking for apxs in /usr/local/apache2/bin... no
checking for apr-config in /usr/local/apache2/bin... no
checking for apxs2 in /usr/sbin... no
checking for apxs in /usr/sbin... no
checking for apr-config in /usr/sbin... no
checking for apxs2... no
checking for apxs... no
configure: error: **** apxs was not found, DSO compilation will not be
available
 
 
Could anybody help me?
 
Thanks,
 
Valentina.