On Thu, 17 Apr 2008, James Keenan via RT wrote:

> On Thu Apr 17 10:51:10 2008, ambs wrote:
> > A solution was implemented at revision 27020.
> > They might be cases where this doesn't work. (hope not)
> 
> This is what I got on Linux at r27021:
> 
> Determining if your platform supports readline...
> [successful cc -c omitted ]
> cc  -L/usr/local/lib -Wl,-E test.o  -o test  -lnsl -ldl -lm -lcrypt
> -lutil -lpthread -lrt -lreadline
> /usr/bin/ld: cannot find -lreadline
> collect2: ld returned 1 exit status

> But whenever I say 'sudo apt-get install libreadline5', I'm told the
> package is up-to-date.

Debian-derived systems usually offer two packages:  A run-time-only 
library and a development library.  libreadline5 is the run-time-only 
version.  You probably need to do 

        sudo apt-get install libreadline5-dev

(According to the notes in perl5's hints/linux.sh, Red Hat uses a similar 
naming convention.)

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to