Yuri on Mon, 26 Nov 2018 02:10:55 +0100


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

Re: readline history doesn't work on FreeBSD


On 11/25/18 4:58 PM, Thomas D. Dean wrote:

What does
  ldd `which gp`
display?

libreadline should be in the output if gp was configured with readline.

Tom Dean


$ ldd `which gp`
/usr/local/bin/gp:
    libpari.so.6 => /usr/local/lib/libpari.so.6 (0x800a00000)
    libreadline.so.7 => /usr/local/lib/libreadline.so.7 (0x80163e000)
    libX11.so.6 => /usr/local/lib/libX11.so.6 (0x80188f000)
    libm.so.5 => /lib/libm.so.5 (0x801bcf000)
    libc.so.7 => /lib/libc.so.7 (0x801dfe000)
    libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x8021b6000)
    libthr.so.3 => /lib/libthr.so.3 (0x802436000)
    libncursesw.so.8 => /lib/libncursesw.so.8 (0x80265e000)
    libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x8028bd000)
    libXau.so.6 => /usr/local/lib/libXau.so.6 (0x802ae3000)
    libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x802ce6000)

$ pkg which /usr/local/lib/libreadline.so.7
/usr/local/lib/libreadline.so.7 was installed by package readline-7.0.3_1


Yuri