Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Brian Webb <webbb@aries.tucson.saic.com>
Subject: Re: Link problems
Date: Fri, 24 Jan 1997 14:08:26 -0700	[thread overview]
Message-ID: <32E924CA.587B@aries.tucson.saic.com> (raw)

> > > >I just purchased a UDB running RedHat Linux 4.0, and I'm trying to build
> > > >one of my programs on it, but I'm getting many link errors.  The errors
> > > >that I'm getting are as follows:
> > > >
> > > >g++ -L../../lib/ALPHA -L/swl/share/webbb/lib/ALPHA  -L/swl/ATR/lib/ALPHA
> > > >-L/swl/tcl-7.6/ALPHA/lib  -L/usr/X11R6/lib -o ../../bin/ALPHA/image_wish
> > > >ALPHA/tkAppInit.o  -ltk_ext -ltcl_ext -lXWImage -lgf -llists -lregion
> > > >-lseg -lutil -ltk4.2 -ltcl7.6 -lX11 -lgcc -ldl -lm
> > > >/usr/lib/gcc-lib/alpha-linux/2.7.2/crtend.o(.text+0x14): relocation
> > > >truncated to fit: LITERAL __CTOR_END__
> > > >/usr/lib/libm.a(e_exp.o): In function `__ieee754_exp':
> > > >e_exp.c(.text+0xa0): relocation truncated to fit: LITERAL $C34
> 
> There's something wrong here.  Did you report the entire link line?
> I don't see `-static' but I do see /usr/lib/libm.a -- `-lm' should
> have pulled in the shared version.
> 
> Does /usr/lib/libm.so exist?  Did you previously have RH 3.0.3 on
> that machine, and if so, did you build any of the /swl/share/ bits
> with it?

For some reason libm.so did not exist on my system.  I created a link
from libm.so.6 to libm.so and everything links fine now.  It would seem
that the libm.so link is missing in the RedHat 4.0 distribution.  I just
installed from the RedHat 4.0 CD last weekend and installed all the
updates yesterday.  In any case, problem solved.  Thanks!

- Brian
webbb@aries.tucson.saic.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-01-24 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-24 21:08 Brian Webb [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-01-23 20:12 Link problems bruce a. campbell
1997-01-23 17:07 J
1997-01-23 19:25 ` jestabro
1997-01-24 20:33   ` Richard Henderson
1997-01-21 22:51 Brian Webb
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox