Cannot open assembly '/usr/lib/mono/1.0/mcs.exe'

Bug #366506 reported by Medar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mono-devel

$ mcs
The program 'mcs' is currently not installed. You can install it by typing:
sudo apt-get install mono-devel
bash: mcs: command not found

$ sudo apt-get install mono-devel
...

$ mcs
Cannot open assembly '/usr/lib/mono/1.0/mcs.exe': No such file or directory.

Fixed by installing mono-mcs package, guess there should depends.

Revision history for this message
Jo Shields (directhex) wrote :

This is a known issue in Jaunty, it will be fixed for Karmic

Changed in mono (Ubuntu):
status: New → Confirmed
Revision history for this message
Jo Shields (directhex) wrote :

This is a known issue in Jaunty, it will be fixed for Karmic. Please note that CLI 1.0 is deprecated in Jaunty - all libs are built against 2.0, and you should use gmcs wherever possible (existing 1.0 apps can be run as 2.0 using mono --runtime=v2.0.50727 program.exe)

Revision history for this message
Jo Shields (directhex) wrote :

Confusion regarding the mcs symlink now resolved in Karmic

Changed in mono (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Darryl Allardice (duderdice) wrote :

I'm running Karmic and just apt-get upgraded everything available, and --reinstalled the "mono-devel" package and I am getting this error when trying to execute 'mcs' on the command line:

  ~$ mcs
  The program 'mcs' is currently not installed. You can install it by typing:
  sudo apt-get install mono-devel
  bash: mcs: command not found

Previously, it just told me that [Cannot open assembly '/usr/lib/mono/1.0/mcs.exe': No such file or directory.] when the 'mcs' script was exec'ing the mcs.exe file which did not exist. Now it looks like its completely gone now and does not get recreated when installing "mono-devel". Doesn't appear to be fixed correctly.... or am I missing something???

Revision history for this message
Darryl Allardice (duderdice) wrote :

Ok, i read the topmost notice more closely and after running 'apt-get install mono-mcs' it is fixed -- "mcs" now executes correctly at the command line. Perhaps that depends would be nice :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.