<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nahona</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nahona"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Nahona"/>
		<updated>2026-05-11T01:52:14Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2007-11-05T16:13:36Z</updated>
		
		<summary type="html">&lt;p&gt;Nahona: /* Gentoo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Ten install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
After installing mono, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.  I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/1.2.5.1/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are using ODE, you will have to rebuild the ODE library by hand.&lt;br /&gt;
First download the opensim-libs project from SVN, then configure and build ODE.  From a Terminal window:&lt;br /&gt;
&lt;br /&gt;
 svn co http://opensimulator.org/svn/opensim-libs/trunk opensim-libs&lt;br /&gt;
 cd opensim-libs/unmanaged/OpenDynamicsEngine/&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;lt;tt&amp;gt;ode/src/libode.dylib&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;/div&gt;</summary>
		<author><name>Nahona</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2007-11-05T16:09:48Z</updated>
		
		<summary type="html">&lt;p&gt;Nahona: /* Gentoo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Ten install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
After installing mono, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.  I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/1.2.5.1/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are using ODE, you will have to rebuild the ODE library by hand.&lt;br /&gt;
First download the opensim-libs project from SVN, then configure and build ODE.  From a Terminal window:&lt;br /&gt;
&lt;br /&gt;
 svn co http://opensimulator.org/svn/opensim-libs/trunk opensim-libs&lt;br /&gt;
 cd opensim-libs/unmanaged/OpenDynamicsEngine/&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;lt;tt&amp;gt;ode/src/libode.dylib&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;/div&gt;</summary>
		<author><name>Nahona</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2007-11-05T15:53:37Z</updated>
		
		<summary type="html">&lt;p&gt;Nahona: /* System-specific configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages. You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Ten install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
After installing mono, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.  I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/1.2.5.1/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are using ODE, you will have to rebuild the ODE library by hand.&lt;br /&gt;
First download the opensim-libs project from SVN, then configure and build ODE.  From a Terminal window:&lt;br /&gt;
&lt;br /&gt;
 svn co http://opensimulator.org/svn/opensim-libs/trunk opensim-libs&lt;br /&gt;
 cd opensim-libs/unmanaged/OpenDynamicsEngine/&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;lt;tt&amp;gt;ode/src/libode.dylib&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;/div&gt;</summary>
		<author><name>Nahona</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2007-11-05T15:50:37Z</updated>
		
		<summary type="html">&lt;p&gt;Nahona: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some dependency may use &amp;quot;~x86&amp;quot; masked packages. You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Ten install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
After installing mono, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.  I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/1.2.5.1/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are using ODE, you will have to rebuild the ODE library by hand.&lt;br /&gt;
First download the opensim-libs project from SVN, then configure and build ODE.  From a Terminal window:&lt;br /&gt;
&lt;br /&gt;
 svn co http://opensimulator.org/svn/opensim-libs/trunk opensim-libs&lt;br /&gt;
 cd opensim-libs/unmanaged/OpenDynamicsEngine/&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;lt;tt&amp;gt;ode/src/libode.dylib&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;/div&gt;</summary>
		<author><name>Nahona</name></author>	</entry>

	</feed>