Peter Bortas <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Niels M�ller) writes:
> 
> > A more difficult problem, for me, is to add the proper -R flags. On
> > most of Lysator's Solaris machines, zlib is installed as a shared
> > library in /sw/local/lib. With the vanilla gcc installation
> > (./configure --prefix=/sw/local && make bootstrap), configure thinks
> > it can compile and link with libz without adding any extra compiler
> > flags. But the executables can't run, because libz.so is not found.
> > 
> > So in this case, I'll have to configure lsh with LDFLAGS="-R
> > /sw/local/lib" ./configure.
> 
> Pull smartlink or parts of it out of Pike perhaps?

That might be a good idea. Does it solve this particular problem
(adding -R flags even if configure doesn't add any -L flags)?

I have never looked into how smartlink works.

For those of you who are not familiar with Pike, smartlink is a shell
script that is wrapped around the linker (or really around $CC, I
think) in Pike's build environment. 

/Niels

Reply via email to