bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] rl_bind_key does not work on Mac OSX


From: Ryo Tomidokoro
Subject: Re: [Bug-readline] rl_bind_key does not work on Mac OSX
Date: Tue, 11 Nov 2014 05:14:06 +0000

Hi, Chet

I misunderstood.
This time complied with -L option. (below)

gcc -L/usr/local/Cellar/readline/6.3.6/lib -lreadline sample.c

And it perfectly worked. Thank a lot!!

On Mon Nov 10 2014 at 10:15:30 PM Chet Ramey <address@hidden> wrote:
On 11/9/14, 9:45 PM, Ryo Tomidokoro wrote:
> Hi, Chet
>
> Thank you for your reply.
>
> I tried following, and still rl_bind_key does not work.
>
> 1. Remove existing readline (editline) header files from /usr/include.
>
> 2. Change complie option as below
> gcc -I/usr/local/Cellar/readline/6.3.6/include -lreadline sample.c
>
> 3. Check include order with gcc -v option

OK.  You might consider taking my suggestion and using the -L option to
tell the linker in which directory homebrew installed the readline library.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]