Questions tagged [libreadline]

The Gnu readline library is used by other programs, such as shells and interpreters, to provide common line-editing capabilities.

83 questions
252
votes
22 answers

Library not loaded: /usr/local/opt/readline/lib/libreadline.6.2.dylib

I just installed posgresql with homebrew and when I go on to type the command psql I get the following error: dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.2.dylib Referenced from: /usr/local/bin/psql Reason: image not…
hbejgel
  • 4,674
  • 2
  • 17
  • 27
186
votes
22 answers

Library not loaded: /usr/local/lib/libpq.5.4.dylib

I am working on a rails app. Installed Postgresql using postgresql-9.1.2-1-osx.dmg Installed pg gem. Then when I executed rake db:create getting the following error…
Sathish
  • 4,446
  • 3
  • 22
  • 17
123
votes
11 answers

Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib

When I try running rails console I get this error: /Users/TuzsNewMacBook/.rvm/gems/ruby-2.3.7/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require': …
Jonathan Tuzman
  • 11,568
  • 18
  • 69
  • 129
87
votes
2 answers

'readline/readline.h' file not found

I have included: #include "stdio.h" #include #include and my compiler includes the flag -lreadline but I am still receiving the error message: fatal error: 'readline/readline.h' file not found I am…
timeshift117
  • 1,720
  • 2
  • 18
  • 21
30
votes
12 answers

How to get Readline support in IRB using RVM on Ubuntu 11.10

I have tried everything I can think of to get this to work, to no avail so here I am requesting suggestions on how to debug. Firstly, runnning Ubuntu 11.10 Installed rvm: $ bash < <(curl -s…
ktec
  • 2,453
  • 3
  • 26
  • 32
23
votes
1 answer

dyld: Library not loaded: Referenced from: /usr/local/bin/awk

It shows error message as follow when I open the terminal: dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib Referenced from: /usr/local/bin/awk Reason: image not found
wokerman
  • 293
  • 2
  • 8
21
votes
2 answers

R command history: how to configure up-arrow to treat "multiline, brace-enclosed input" as one line?

This question is about configuring the R console to behave like a bash shell when it comes to navigating the command history. It is somewhat related to the ?history. For brace-enclosed multi-lines, I'd like to configure the command history…
mike
  • 221
  • 1
  • 7
18
votes
3 answers

install ruby 1.9.3 using rvm on ubuntu

Possible Duplicate: Ruby 1.9.2 and Rails 3 cannot open rails console I have already installed rvm and ruby 1.9.2, both working properly. Using rvm version 1.10.2. I previously installed the rvm packages readline/zlib, but now I'm having big…
CLod
  • 917
  • 2
  • 11
  • 28
15
votes
1 answer

undefined reference to `readline'

I'm having a problem trying to run the GNU Readline library sample code available in wikipedia. Here it goes: #include #include #include #include #include int main() { …
E.Z.
  • 6,393
  • 11
  • 42
  • 69
14
votes
2 answers

yum showing readline installed but readline command not working

yum My system shows readline installed rlwrap-0.41]$ sudo yum install readline Loaded plugins: fastestmirror, presto, security Loading mirror speeds from cached hostfile . . . Package readline-6.0-4.el6.x86_64 already installed and latest…
Akshay Hiremath
  • 950
  • 2
  • 12
  • 34
14
votes
2 answers

No readline support while using pdb.set_trace()

I have an application running Python 2.6.X. Starting the Python interpreter in interactive mode (with or without using virtualenv): readline support working (command history). Starting my application with the same Python interpreter (virtualenv-ed…
user2665694
9
votes
4 answers

Statically linked, correctly working readline library under Windows?

We're developing a C++ software package which depends on the GNU readline library and we usually build using gcc (requiring at least version 4). Now we would like to port this to Windows, obtaining a statically linked version which we can…
Broes De Cat
  • 536
  • 5
  • 14
7
votes
3 answers

How do I link against the GNU readline library rather than libedit in macosx?

Attempting to build Term-Readline-Gnu on macosx, fails complaining about libedit and recommending to use gnu readline. How do I do that? This is one of the attempts I have tried: First I built GNU libreadline v6.2 statically but did not install it -…
Chris
  • 71
  • 1
  • 3
6
votes
2 answers

Homebrew pyenv install error dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib

After installing pyenv from Homebrew on MacOS Mojave I am getting build errors when attempting to install any python versions. When running pyenv install for any version the build will fail with error: dyld: Library not loaded:…
Goran
  • 677
  • 3
  • 22
6
votes
4 answers

how to output messages to stdout on another thread while reading from stdin with GNU readline without messing up the inputs?

Sorry for the long title. I am developing a network program in C which may display messages received from network on stdout and accept user input on stdin via the GNU readline library. The problem is, when the user is typing commands on the main…
howanghk
  • 3,070
  • 2
  • 21
  • 34
1
2 3 4 5 6