This fixes the issue: AC_CHECK_LIB([readline], [main], [], AC_MSG_ERROR(*** OpenILS requires libreadline),[-lncurses])

Is this an acceptable solution?

-Lee




Lee Dickens wrote:
Thanks Dan,

Adding -lncurses allowed the test program to compile properly. Aside from compiling readline from source, are there any other options? I am an autoconf noob and I'm not sure how to properly fix this.

Thanks,
Lee Dickens


Dan Scott wrote:
On Wed, 2010-03-03 at 10:58 -0500, Lee Dickens wrote:
  
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: 
undefined reference to `PC' 
    

See also https://bugzilla.redhat.com/show_bug.cgi?id=499837

  

Equinox will be at the 2010 Public Library Association
Conference in Portland, Oregon, March 23-27.
Please come by and see us in booth #1407!
  

Equinox will be at the 2010 Public Library Association
Conference in Portland, Oregon, March 23-27.
Please come by and see us in booth #1407!

Reply via email to