Octave configure cannot find libreadline

somehow my ./configure command for Octave 3.0.3 cannot find libreadline. I have specified in LDFLAGS and CPPFLAGS the directory of my non-standard installation. so in one of the forum, it was suggested to check the config.log, and I found this error message when testing readline:

libreadline.so: undefined reference to `PC'
...
..

and after googling around, It turns out that the problem is in libncurses. I need to install libncurses first. After I install ncurses libs, my configure can detect readline.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: