>Thank you all for the advice, I got through make successfully after setting >LD_LIBRARY_PATH.
>However, after I've installed Amanda, there's a new problem. When I try >to run any amanda executables, I get the following error: >$ amlabel DailySet1 DailySet1-001 >ld.so.1: amlabel: fatal: libreadline.so.4: open failed: No such file or >directory This is why linking with -R is the better answer. The executables then know where to find the dynamic libs without LD_LIBRARY_PATH or LD_RUN_PATH. And, of course, most or all instances of 'configure' that I encounter fail completely and need to be manually hacked, either because whoever writes/generates the things is solipsistic wrt SunOS 5, or incorrectly believes that LD_LIBRARY_PATH is the way to go. IIRC ld.so came up with -R back around 5.4 or 5.5; I don't remember exactly. One way to do this might be unsetenv LD_LIBRARY_PATH setenv LD_FLAGS "-R /usr/local/lib" before running configure, presuming that readline is in /usr/local/lib. Use ldd on completed binaries to ensure that they can find the libs.