>> (This after deleting both /lib/libreadline.so and >> /lib/libhistory.so.)
Michael> Odd. What does the output of
Michael> $ gcc -o foo foo.c -lreadline -ltermcap -Wl,--verbose
Michael> look like?
Well, what it looks like is "Skip's a dunce...". Turns out there was a libreadline.so symlink /usr/lib also. It found that. When I deleted that it found /usr/lib/libreadline.a. Getting rid of that caused the link to (finally) fail. With just the version-based .so files cc apparently can't do the trick.
Sorry to have wasted the bandwidth.