Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I recently installed Linux Mint OS. When i compiled C program using gcc with option -lreadline it is giving this message... /usr/bin/ld: -lreadline not found I tried searching for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    2

    Smile -lreadline not found


    Hi,
    I recently installed Linux Mint OS.
    When i compiled C program using gcc with option -lreadline
    it is giving this message...
    /usr/bin/ld: -lreadline not found
    I tried searching for ghc package, but I could not get one for this linux
    Please provide soln...

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You need to install the readline devel package. The name depends on the distro, but it should be something like libreadline-devel or readlinve-dev.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •