>This is why linking with -R is the better answer.  ...

Absolutely.  LD_LIBRARY_PATH has a lot of really evil side effects and
should be an absolute last resort.

>And, of course, most or all instances of 'configure' that I encounter
>fail completely ...

That's interesting.

Not long ago I discovered Amanda had a --with-libraries option that
took a list of directories and stuck them on the load lines with "-L"
(it also has a --with-includes along the same line).  I was kind of
happy because this was easier than what I had been doing (via an LD_FLAGS
environment variable, as I recall).

Since I didn't have any shared libraries in the extra areas, I didn't
really think about it much.  But now that you mention it, I suspect that
for Solaris we should add "-R$dir" in addition to "-L$dir".  Right?

Are there any other OS's that need "-R"?

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to