[Top][All Lists]

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

[Bug-readline] installing rlfe on OS X 10.4.11

From: Peter Michaux
Subject: [Bug-readline] installing rlfe on OS X 10.4.11
Date: Sun, 27 Apr 2008 11:23:06 -0700


I've been trying to install the rlfe program on my Mac OS X 10.4.11
and am running into an error when I run make.

mkdir ~/Desktop/src
cd ~/Desktop/src
curl -O ftp://ftp.cwru.edu/pub/bash/readline-5.2.tar.gz
tar xvzf readline-5.2.tar.gz
cd readline-5.2
sudo make install

It seems at this stage that readline is installed but the "sudo make
install" ends with the following

make[1]: Entering directory `/Users/peter/Desktop/src/readline-5.2/shlib'
/bin/sh ../support/mkdirs /usr/local/lib
/bin/sh ../support/shlib-install -O darwin8.11.1 -d /usr/local/lib -b
/usr/local/bin -i "/usr/bin/install -c -m 644" libhistory.5.2.dylib
/bin/sh ../support/shlib-install -O darwin8.11.1 -d /usr/local/lib -b
/usr/local/bin -i "/usr/bin/install -c -m 644" libreadline.5.2.dylib
install: you may need to run ldconfig
make[1]: Leaving directory `/Users/peter/Desktop/src/readline-5.2/shlib'


Then I try to install the rlfe example

cd ~/Desktop/src/readline-5.2/examples/rlfe

The output from the "make" command ends with

/usr/bin/ld: warning multiple definitions of symbol _history_search
definition of _history_search
/usr/local/lib/libhistory.dylib(histsearch.so) definition of _history_search
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
make: *** [rlfe] Error 1

Any ideas what I can do to make this work?


reply via email to

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