This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: an installation bug in either gcc, gld, or readline -- I don't know which
On Wed, Dec 26, 2001 at 05:23:42PM -0500, Phil Edwards wrote:
> I don't have GNU readline installed, so I can't verify this. I do see
> that there is a 4.2a released. I will grab a copy and take a look.
Enh, that was easy. Yep, it's readline-4.2a/support/shobj-conf, which
emits the settings for building a shared library version of libreadline.
On a Solaris system, it assumes Sun's ld is used.
Dr. Koenig, I suspect the easiest way out of this mess is to disable shared
libraries while configuring readline. If you need shared-lib functionality,
you'll have to twiddle that script before running configure instead.
Line 65, SHOBJ_LDFLAGS, is what you want... probably just removing the
-Wl,-i altogether, since I don't think GNU ld has an option meaning
"ignore LD_LIBRARY_PATH".
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams