>>Well, the ucb stuff is the problem but Slowlaris requires it. Sun's
>>-ltermcap uses rindex and friends which are only in ucb. The trick is
>>to link -ltermcap -lc -lucb to force it to use everything from libc
>>which is also in libucb. Thanks to Peter Tribble for telling me this
>>trick and to everybody else replying to my question. I've now a working
>>readline (taken from bash) but the readline-2.0 distribution is
>>nevertheless not useable via configure and a make run. It looks fairly
>>screwed up in fact as configuration is concerned.
>False. The ucb stuff is not needed by Solaris 2.x. libtermcap.a
>does *not* use index and rindex. Unless, of course, you're linking
>with /usr/ucb/libtermcap.a. But that's ridiculous.
>Do you have /usr/ucblib in your LD_LIBRARY_PATH? That might explain
In fact, I do. I removed it and things are running much more as
expected. The system here is pretty much screwed up anyway. They moved
us from SunOS to Solaris recently and there are tons of leftovers.
Quote:>curses and termcap should live in /usr/ccs/lib and they should
>be the first curses and termcap the linker finds, whether you use
>gcc or cc.
What (and when) the linker finds is a mystery to me anyway.
LD_LIBRAY_PATH, LD_RUN_PATH, ld -Rpath, libblah.so, libblah.so.n, ld -G
-h name and things I probably forgot.
Institute of Astronomy, Cambridge UK