[Mono-list] Could not find assembly gnome-sharp
Chris Ball
chris@void.printf.net
Mon, 18 Nov 2002 02:18:40 +0000
>> On 2002-11-17 17:20:34, Parrish M Myers <parrishmyers@yahoo.com> said:
> ** (glade-test.exe:7578): WARNING **: Could not find assembly
> gnome-sharp Can not open image glade-test.exe
> How does nono search for assemblies? Am I just doing something
> stupid. Any help is appreciated... thanks
Nothing overly stupid. :-)
Mono uses a search path for assemblies in a similar fashion to gcc.
From the manpage:
MONO_PATH
Provides a search path to mono and mint where to
look for library files. Directories are separated
by the platform path separator (colons on unix).
Example: /home/username/lib:/usr/local/mono/lib
So, run a locate for your gnome-sharp.dll. If it's in the default
/usr/local/mono/lib, run:
$ export MONO_PATH=/usr/local/mono/lib
The equivalent to this in mcs would be specifying '-r' to link against a
dll like glib-sharp or gtk-sharp.
Hope this helps,
- Chris.
--
$a="printf.net"; Chris Ball | chris@void.$a | www.$a | finger: chris@$a
| "You're still hoping for a new, good Star Trek series?
| You must be a Cubs fan." - Michael G. Schwern