Red Hat Bugzilla – Bug 243084
pl should depend on readline-devel
Last modified: 2007-11-30 17:12:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:18.104.22.168) Gecko/20070515 Firefox/22.214.171.124
Description of problem:
The plld utility distributed with the pl package needs readline-devel to be installed, as it performs linking with -lreadline.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
It is probably simplest to look at the sources (src/configure.in) and see that, if readline is present, then plld will link with -lreadline. So either pl should be built in an environment without readline (but this would be a pity) or, for plld to work, both readline and readline-devel are required.
plld -cc gcc -c++ g++ -ld g++ \
-ld-options`echo '' -W -Wall -g -O2 | tr " " ","` \
-o ppl_pl ppl_swiprolog.o ppl_pl.o \
-L../../../src/.libs -lppl \
-L../../../Watchdog/src/.libs -lpwl \
-lm -L/usr/lib -lgmpxx -L/usr/lib -lgmp
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
Ok, I will add the dependency on readline-devel.