Public bug reported:
Binary package hint: swi-prolog
The plld utility distributed with the pl package needs libreadline5-dev
to be installed, as it performs linking with -lreadline.
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 libreadline5 and
libreadline5-devel are required.
$ plld -cc gcc -c++ g++ -ld g++ \
-ld-options`echo '' -g -O2 -frounding-math -W -Wall | tr " " "
/"` \
-o ppl_pl ppl_swiprolog.o ppl_pl.o \
-L../../../src/.libs -lppl \
-L../../../Watchdog/src/.libs -lpwl \
-lm -lgmpxx -lgmp
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
g++ returned code 256
*** plld exit status 1
** Affects: swi-prolog (Ubuntu)
Importance: Undecided
Status: New
--
swi-prolog should depend on libreadline5-dev
https://bugs.launchpad.net/bugs/155066
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs