[Mono-list] Running mono applications from nonstandard path
stefano.facchini at gmail.com
Thu Dec 16 10:39:53 EST 2010
Ok I could answer myself :)
$ DYLD_LIBRARY_PATH=/opt/docky/ ./docky
Il giorno gio, 16/12/2010 alle 15.56 +0100, Stefano Facchini ha scritto:
> I have compiled a mono application (Docky from bzr source repo) and
> installed it in /opt/docky. In the same path I had previously installed
> dbus-sharp and dbus-sharp-glib, also compiled from the git source.
> Now, when I try to run it, I get the error:
> Could not load file or assembly 'dbus-sharp-glib, Version=184.108.40.206,
> Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its
> Missing method Init in assembly /opt/docky/lib/docky/Docky.exe, type
> Unhandled Exception: System.IO.FileNotFoundException: Could not load
> file or assembly 'dbus-sharp-glib, Version=220.127.116.11, Culture=neutral,
> PublicKeyToken=5675b0c3093115b5' or one of its dependencies.
> File name: 'dbus-sharp-glib, Version=18.104.22.168, Culture=neutral,
> I think that there are some environment variable to set, but I don't
> know which ones. Can someone help me?
> thank you
More information about the Mono-list