[Mono-list] Running mono applications from nonstandard path
Stefano Facchini
stefano.facchini at gmail.com
Thu Dec 16 10:39:53 EST 2010
Ok I could answer myself :)
With
$ DYLD_LIBRARY_PATH=/opt/docky/ ./docky
it works...
Il giorno gio, 16/12/2010 alle 15.56 +0100, Stefano Facchini ha scritto:
> Hi,
> 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=1.0.0.0,
> Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its
> dependencies.
> Missing method Init in assembly /opt/docky/lib/docky/Docky.exe, type
> DBus.BusG
>
> Unhandled Exception: System.IO.FileNotFoundException: Could not load
> file or assembly 'dbus-sharp-glib, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=5675b0c3093115b5' or one of its dependencies.
> File name: 'dbus-sharp-glib, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=5675b0c3093115b5'
>
>
> 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
mailing list