http://pythonnet.sourceforge.net/readme.html says:
Note that if you are running under Mono on a *nix system, you will
need to have a compatible version of Python installed. You will also
need to create a symbolic link to the copy of libpython2.x.so (in your
existing Python installation) in the PythonNet directory. This is
needed to ensure that the mono interop dll loader will find it by
name. For example:
ln -s /usr/lib/libpython2.4.so ./python24.so

Which works fine, But the "official" way to do this is to use a Mono
feature called DllMap, which is documented here:
http://www.mono-project.com/Config_DllMap

In practice, this means you create a file named
python.runtime.dll.config, with content:
<configuration>
  <dllmap dll="python24" target="libpython2.4.so.1" os="!windows"/>
</configuration>

-- 
Seo Sanghyeon
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to