building source- incompatible readline

When attempting to build the source code, make fails with an incompatible readline library.

I have libreadline.so.5.2 installed on a Centos 5.5 Rocks cluster.

/usr/bin/ld: skipping incompatible /usr/lib/libreadline.so when searching for -lreadline
/usr/bin/ld: skipping incompatible /usr/lib/libreadline.a when searching for -lreadline
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: *** [mothur] Error 1

Bob

My bad! I found out I had the i386 version of readline-devel installed but not the 64 bit x86_64 version installed. Updating the installation solved the problem.

Bob