[Mono-list] Add new assemblies

Chris Ball chris@void.printf.net
Sat, 30 Nov 2002 04:49:36 +0000


>> On 29 Nov 2002 23:08:42, Patrick Pletscher <debian@galaxysoft.ch> said:

   > Hi, I try to start the Oberon.NET compiler on my Linux machine,
   > but then the error "Could not find assembly Obgen" appears. I
   > guess this is because I have to add the files Obgen.DLL and
   > Obscan.DLL to a list of installed assemblies, but how do so?

I think this is turning into a FAQ.  :-)

Mono uses a search path for assemblies in a similar fashion to gcc.
The manpage says:

       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, if your Oberon DLLs were in /opt/oberon/, you would run:

   $ export MONO_PATH=/usr/local/mono/lib:/opt/oberon

Hope this helps,

- Chris.
-- 
$a="printf.net";  Chris Ball | chris@void.$a | www.$a | finger: chris@$a