Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3426036
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:39:56+00:00 2026-05-18T06:39:56+00:00

Update: Tried November CTP release. Same error message. Forgot to mention that this server

  • 0

Update:
Tried November CTP release. Same error message.
Forgot to mention that this server has the Ubuntu server edition installed. I don’t have this issue on my Ubuntu desktop that runs Desktop 10.10.
So I suspected that it could be some command line related libraries missing. After I installed libreadline-dev and libreadline5, the error message disappeared. However, the issue that fsi stuck is still there.

Update2:
Tried the new Mono 2.8.1. Same FSI stuck issue.

Update3:
As this issue is very reproducible, I reported it as a bug in fsi.exe to Microsoft. Let’s see how it goes.

Update4:
Got quick response from Don Syme. The solution he suggested resolved this issue. I created the answer myself.

Hi,

I installed F# 2.0 in a server running Ubuntu 10.10 and Mono 2.8. fsc.exe runs perfect, I have no problem in compiling fs files. However, when I run fsi.exe as follows:
mono /usr/local/FSharp/bin/fsi.exe

I got the FSI prompt, but an error message keep repeating

“Failed to install ctrl-c handler – Ctrl-C handling will not be available. Error was:
Exception has been thrown by the target of an invocation”

Am I missing anything here?

The Mono 2.8 was compiled and installed from source.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:39:57+00:00Added an answer on May 18, 2026 at 6:39 am

    Feel really awkward to answer my own question. Anyway, I’ll answer it so other people can benefit from.

    First of all, install libreadline-dev and libreadline5 so you can get rid of the following error message

    Failed to install ctrl-c handler – Ctrl-C handling will not be available. Error was: Exception has been thrown by the target of an invocation

    If you encounter fsi.exe stuck issue, try

     fsi --gui-
    

    It works perfectly in my case.

    Here is my understanding of why such an issue happened. If you look into the code, you will find out fsi.exe actually references System.Windows.Forms, which further links to the Window system. In my case, I ran fsi in a server without X system installed. Consequently, fsi stuck there trying to talk to the nonexistent X. That explains why I don’t have the issue in my desktop.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to update some part of a matrix, I got the following error
I downloaded a pre-release version of the iPhone SDK and tried to update one
UPDATE: I tried implementing the method specified by Peter and am getting incorrect shadowing.
UPDATE I tried using the internal wordpress rewrite. What I have to do is
One update: I tried using the SummaryRow on the datagrid for its basic functionalities
Is it possible to update first row and with WHERE clause. I Tried: UPDATE
I tried to update an fullcalendar event with updateEvent but only the first time
UPDATE: I also tried implementing UITextViewDelegate delegate and then doing in my controller: -
Our proxy went down and I tried to update dependencies with Maven while it
Hey, I've tried to update jQuery to its latest version on a system I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.