Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] systematic segfault in libtool script

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Mathieu L." <lejatorn AT smgl.homelinux.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] systematic segfault in libtool script
  • Date: Sun, 24 Feb 2008 17:13:16 +0100

update:

It's only failing with sorcery devel, all is fine with sorcery test. :)

On Sun, Feb 24, 2008 at 04:11:21PM +0100, Mathieu L. wrote:
> update:
>
> it seems it's only failing inside cast; I ran
> ./configure;
> make;
> make install
>
> in flac sources and the linking went fine; I have all the libs installed
> in /usr/local/lib.
>
> Mathieu.
>
> On Sun, Feb 24, 2008 at 02:05:27AM +0100, Mathieu L. wrote:
> > Hi all,
> >
> > I recently issued a system-update which went really bad. Most of the
> > builds were failing because lots of generic version symlinks in /usr/lib
> > were missing; I mean stuff like:
> > /usr/lib/libX11.so -> libX11.so.6
> >
> > I pinpointed the problem to the generation of those symlinks which
> > apparently is done in a ./libtool script found in the source package for
> > a given program. (I haven't checked at which point this libtool script
> > is generated.) Well it happens that this step systematically fails here
> > when this ./libtool is run.
> > An example with flac that I've just cast: (note that it didn't make the
> > spell fail, while I'm now missing some symlinks to libFLAC.so)
> >
> > from the compile log:
> >
> > (cd /usr/lib && rm -f libFLAC.so.8 && ln -s libFLAC.so.8.2.0
> > libFLAC.so.8)
> > (cd /usr/lib && rm -f libFLAC.so.8 && ln -s libFLAC.so.8.2.0
> > libFLAC.so.8)
> > (cd /usr/lib && rm -f libFLAC.so.8 && ln -s libFLAC.so.8.2.0
> > libFLAC.so.8)
> > (cd /usr/lib && rm -f libFLAC.so && ln -s libFLAC.so.8.2.0 libFLAC.so)
> > ../../libtool: line 5954: 31360 Segmentation fault rm -f
> > libFLAC.so.8
> > (cd /usr/lib && rm -f libFLAC.so && ln -s libFLAC.so.8.2.0 libFLAC.so)
> > (cd /usr/lib && rm -f libFLAC.so && ln -s libFLAC.so.8.2.0 libFLAC.so)
> > ../../libtool: line 5954: 31360 Segmentation fault rm -f
> > libFLAC.so.8
> > ../../libtool: line 5954: 31360 Segmentation fault rm -f
> > libFLAC.so.8
> > ../../libtool: line 5954: 31362 Segmentation fault rm -f libFLAC.so
> > ../../libtool: line 5954: 31362 Segmentation fault rm -f libFLAC.so
> > ../../libtool: line 5954: 31362 Segmentation fault rm -f libFLAC.so
> >
> > and now a glance at the code in ./libtool responsible for that:
> >
> > if test "$#" -gt 0; then
> > # Delete the old symlinks, and create new ones.
> > for linkname
> > do
> > if test "$linkname" != "$realname"; then
> > $show "(cd $destdir && $rm $linkname && $LN_S
> > $realname $linkname)"
> > $run eval "(cd $destdir && $rm $linkname && $LN_S
> > $realname $linkname)"
> > fi
> > done
> > fi
> >
> > Can anyone see what's wrong please?
> >
> > Thanks,
> > Mathieu.
> >
> >
> > --
> > GPG key on subkeys.pgp.net:
> >
> > KeyID: | Fingerprint:
> > 683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3
> > --
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
> --
> GPG key on subkeys.pgp.net:
>
> KeyID: | Fingerprint:
> 683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3
> --
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

--
GPG key on subkeys.pgp.net:

KeyID: | Fingerprint:
683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3
--




Archive powered by MHonArc 2.6.24.

Top of Page