Results 1 to 3 of 3

Thread: Where's readline?

  1. #1
    Join Date
    Sep 2005
    Location
    Rural Nevada, USA
    Beans
    314
    Distro
    Ubuntu 17.04 Zesty Zapus

    Question Where's readline?

    I am attempting to install Postgresql 9.3.1 from source, since there is apparently no Ubuntu package for this version yet (I could only see 9.1). I downloaded the source code and documentation, unpacked the tar file, and cd'd into the proper directory.

    Using the ./configure command started the process, but it ended with the following error:

    "configure: error: readline library not found"

    I used sudo apt-get install readline, thinking it was somehow missing from my Ubuntu installation but that failed with

    "Unable to locate package readline"

    Is there something I should know that I'm just clueless about?

  2. #2
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Where's readline?

    Typically, whenever you're building packages from source you need the associated -dev package. In the case of readline, that would likely be libreadline-dev I think (which is itself probably a metapackage that currently pulls in libreadline6-dev).

  3. #3
    Join Date
    Sep 2005
    Location
    Rural Nevada, USA
    Beans
    314
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: Where's readline?

    That did it! Thanks, this was the first time I'd tried to compile anything on this machine. I still have a lot to learn!

Tags for this Thread

Bookmarks

Posting Permissions

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