The error log indicates that OpenSim cannot find the require ode library 
(System.DllNotFoundException: libode).

OpenSim won't pick up a system installed ode library, only those in its own bin directory. It only ships with compiled libraries for linux (32 and 64 bit), Windows (32 bit only currently, for various reasons) and Mac OSX.

Compiling ODE for BSD and replacing the existing libode.so (32 bit) or libode-x86_64.so (64 bit) might work since these are used when the platform is not windows or mac, but this is not guaranteed.

I updated the build instructions but I can't test them for accuracy.

On 22/01/12 22:51, Gudule Lapointe wrote:
Hello

I try to install OpenSim on a FreeBSD server. Whatever approach I try, I get 
the same kind of error.

I tried
        - from last release
        - from current snapshot (well, tried on several ones)
        - from osgrid and diva distributions.

I also tried the build instructions on 
http://opensimulator.org/wiki/Build_Instructions#FreeBSD
but the part concerning ODE Physics is out of date. It mentions 
opensim-libs/unmanaged/OpenDynamicsEngine2, which doesn't exists, and there are 
two related folders: OpenDynamicsEngine-0.10.1 and OpenDynamicsEngine-r1755 . I 
tried both, with same error.

Here is my config:

        FreeBSD 8.2-RELEASE-p5 #2: Wed Dec 28 16:51:23 CET 2011
        Opensim version (last try): 24b20f6 r17847 2012-01-22 15:35:14 +0000
        Mono JIT compiler version 2.10.6 (tarball Wed Nov 16 19:42:09 CET 2011)

And below is the error log.

BTW: I installed successfully OpenSim on Ubuntu and MacOS X Lion. So the problem is not 
related to "global" understanding of the installation process. ;-)
Now I need to have it working on a production server, which runs FreeBSD (and I 
can't change that)

If anyone has an idea, it would be greatly appreciated.





23:28:06 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.DllNotFoundException: libode
   at (wrapper managed-to-native) Ode.NET.d:InitODE ()
   at OpenSim.Region.Physics.OdePlugin.OdePlugin.GetScene (System.String 
sceneIdentifier) [0x00000] in<filename unknown>:0
   at OpenSim.Region.Physics.Manager.PhysicsPluginManager.GetPhysicsScene 
(System.String physEngineName, System.String meshEngineName, IConfigSource config, 
System.String regionName) [0x00000] in<filename unknown>:0
   at OpenSim.Region.ClientStack.RegionApplicationBase.GetPhysicsScene (System.String 
engine, System.String meshEngine, IConfigSource config, System.String 
osSceneIdentifier) [0x00000] in<filename unknown>:0
   at OpenSim.OpenSimBase.GetPhysicsScene (System.String osSceneIdentifier) [0x00000] 
in<filename unknown>:0
   at OpenSim.OpenSimBase.SetupScene (OpenSim.Framework.RegionInfo regionInfo, Int32 
proxyOffset, IConfigSource configSource, IClientNetworkServer&  clientServer) 
[0x00000] in<filename unknown>:0
   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean 
portadd_flag, Boolean do_post_init, IScene&  mscene) [0x00000] in<filename 
unknown>:0
   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean 
portadd_flag, IScene&  scene) [0x00000] in<filename unknown>:0
   at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () 
[0x00000] in<filename unknown>:0
   at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in<filename unknown>:0
   at OpenSim.OpenSim.StartupSpecific () [0x00000] in<filename unknown>:0
   at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in<filename 
unknown>:0
   at OpenSim.Application.Main (System.String[] args) [0x00000] in<filename 
unknown>:0

Application is terminating: True

[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libode
   at (wrapper managed-to-native) Ode.NET.d:InitODE ()
   at OpenSim.Region.Physics.OdePlugin.OdePlugin.GetScene (System.String 
sceneIdentifier) [0x00000] in<filename unknown>:0
   at OpenSim.Region.Physics.Manager.PhysicsPluginManager.GetPhysicsScene 
(System.String physEngineName, System.String meshEngineName, IConfigSource config, 
System.String regionName) [0x00000] in<filename unknown>:0
   at OpenSim.Region.ClientStack.RegionApplicationBase.GetPhysicsScene (System.String 
engine, System.String meshEngine, IConfigSource config, System.String 
osSceneIdentifier) [0x00000] in<filename unknown>:0
   at OpenSim.OpenSimBase.GetPhysicsScene (System.String osSceneIdentifier) [0x00000] 
in<filename unknown>:0
   at OpenSim.OpenSimBase.SetupScene (OpenSim.Framework.RegionInfo regionInfo, Int32 
proxyOffset, IConfigSource configSource, IClientNetworkServer&  clientServer) 
[0x00000] in<filename unknown>:0
   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean 
portadd_flag, Boolean do_post_init, IScene&  mscene) [0x00000] in<filename 
unknown>:0
   at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean 
portadd_flag, IScene&  scene) [0x00000] in<filename unknown>:0
   at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () 
[0x00000] in<filename unknown>:0
   at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in<filename unknown>:0
   at OpenSim.OpenSim.StartupSpecific () [0x00000] in<filename unknown>:0
   at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in<filename 
unknown>:0
   at OpenSim.Application.Main (System.String[] args) [0x00000] in<filename 
unknown>:0

_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to