> libreadline.a is the statically-linked library. Are you sure there > aren't also any dynamically-linked libraries of readline in /usr/ > local/lib? Their names would be libreadline.*.dylib. Hurray, now it's all ok! It was the dynamic library!! Thank you all! :)