mail-archives/mono-list/2003-October/016155.html

164 строки
5.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] problem starting apache with mod_mono: undefined symbol: g_thread_init. please help
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:julien%40payvision.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016151.html">
<LINK REL="Next" HREF="016158.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] problem starting apache with mod_mono: undefined symbol: g_thread_init. please help
</H1>
<B>Julien Langeveld
</B>
<A HREF="mailto:julien%40payvision.com"
TITLE="[Mono-list] problem starting apache with mod_mono: undefined symbol: g_thread_init. please help">julien@payvision.com
</A><BR>
<I>Mon, 6 Oct 2003 17:32:08 +0200</I>
<P><UL>
<LI> Previous message: <A HREF="016151.html">[Mono-list] Mono 0.28 - Still fails under windows 2000 P
</A></li>
<LI> Next message: <A HREF="016158.html">[Mono-list] problem starting apache with mod_mono: undefined
symbol: g_thread_init. please help
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16155">[ date ]</a>
<a href="thread.html#16155">[ thread ]</a>
<a href="subject.html#16155">[ subject ]</a>
<a href="author.html#16155">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello,=20
I want to run some .net webservcies and webapplications on mono. But I =
am having 2 problems atm:
1. When I try to restart httpd after a mod_mono install I get the =
following error:
&quot;
[<A HREF="mailto:root@localhost">root@localhost</A> mono]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 3 of /etc/httpd/conf.d/mono.conf:
Cannot load /etc/httpd/modules/libmod_mono.so into server: =
/usr/lib/libmono.so.0: undefined symbol: g_thread_init
[FAILED]
[<A HREF="mailto:root@localhost">root@localhost</A> mono]#
&quot;
I hope somebody knows a solution for the error. I don't know what is =
worng. I am using all the new sources from the go-mono site or the cvs.
I compiled the latest glib. And run &quot;ldd&quot; on the .so's, without =
problems.
2. When I try to run a webapplication with a webreference on &quot;mono =
/usr/bin/xsp.exe&quot; I get a timeout:=20
&quot;
The request timed out
&quot;
The webapp uses a webreference, get's a class with a dataset and loops =
to fill a select option box.
My question is if it is possible to run webapplication with =
webreferences with xsp?
But what I really would like is getting apache to run with mod_mono.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
I tried mod_mono from cvs, mod_mono-0.5 and the 3.7 rpm
My system is like this. If there's something you would like to know =
about the config I supply the info:=20
Red Hat Linux 9:
&quot;
[<A HREF="mailto:root@localhost">root@localhost</A> mono]# uname -a
Linux localhost.localdomain 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST =
2003 i686 i686 i386 GNU/Linux
&quot;
Apache 2:
&quot;
[<A HREF="mailto:root@localhost">root@localhost</A> mono]# /usr/sbin/httpd -v
Server version: Apache/2.0.40
Server built: Jul 31 2003 11:36:14
&quot;
Mono
&quot;
<A HREF="mailto:root@localhost">root@localhost</A> mono]# mono --version
Mono JIT compiler version 0.28, (C) 2002, 2003 Ximian, Inc.
&quot;
Mcs
&quot;
[<A HREF="mailto:root@localhost">root@localhost</A> mono]# mcs --version
=EF=BB=BFMono C# compiler version 0.28.0.0
&quot;
Xsp
&quot;
[<A HREF="mailto:root@localhost">root@localhost</A> mono]# mono /usr/bin/xsp.exe --version
=EF=BB=BFxsp.exe 0.6.99.0
(c) 2002,2003 Ximian, Inc.
Minimalistic web server for testing System.Web
&quot;
Glib(, with Gthread)
&quot;
[<A HREF="mailto:root@localhost">root@localhost</A> mono]# glib-config
Usage: glib-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=3DDIR]]
[--exec-prefix[=3DDIR]]
[--version]
[--libs]
[--cflags]
Libraries:
glib
gmodule
gthread
&quot;
Gtk(, with Gthread)
&quot;
[<A HREF="mailto:root@localhost">root@localhost</A> mono]# gtk-config
Usage: gtk-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=3DDIR]]
[--exec-prefix[=3DDIR]]
[--version]
[--libs]
[--cflags]
Libraries:
gtk
gthread
&quot;
Thanks in advance, Julien
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016151.html">[Mono-list] Mono 0.28 - Still fails under windows 2000 P
</A></li>
<LI> Next message: <A HREF="016158.html">[Mono-list] problem starting apache with mod_mono: undefined
symbol: g_thread_init. please help
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16155">[ date ]</a>
<a href="thread.html#16155">[ thread ]</a>
<a href="subject.html#16155">[ subject ]</a>
<a href="author.html#16155">[ author ]</a>
</LI>
</UL>
</body></html>