From xemacs-m  Wed Mar 26 01:10:05 1997
Received: from uni-kl.de (news.uni-kl.de [131.246.136.51])
	by xemacs.org (8.8.5/8.8.5) with SMTP id BAA23629
	for <xemacs-beta@xemacs.org>; Wed, 26 Mar 1997 01:10:03 -0600 (CST)
Received: from uklirb.informatik.uni-kl.de by news.uni-kl.de id ab03012;
          26 Mar 97 8:09 MET
Received: from gentzen.informatik.uni-kl.de by uklirb.informatik.uni-kl.de
          id aa18295; 26 Mar 97 8:03 MET
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Steven L Baur <steve@miranova.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: Linux problem with 19.15
In-Reply-To: Steven L Baur's message of , 25 March 1997 22:21:27 -0800
References: <m2ybbbkwbc.fsf@altair.xemacs.org>
From: Andreas Jaeger <jaeger@informatik.uni-kl.de>
Sender: jaeger@informatik.uni-kl.de
CC: ~jaeger@informatik.uni-kl.de
Date: 26 Mar 1997 08:00:49 +0100
Message-ID:  <9703260803.aa18295@uklirb.informatik.uni-kl.de>


>>>>> On 25 Mar 1997 22:21:27 -0800, Steven L Baur <steve@miranova.com> said:

sb> Andreas, this is an instant FAQ.  If you build against a recent
sb> libc-5.4 (late enough to have caused problems earlier in the beta
sb> cycle) and then run with an earlier version of libc, you get a

sb> $ xemacs
sb> xemacs: can't resolve symbol '__malloc_hook'
sb> zsh: 7942 segmentation fault (core dumped)  xemacs

sb> (Example binary compiled against libc-5.4.23 and run with libc-5.4.16).

sb> The solution is to upgrade to at least libc-5.4.23.  Sigh.  Drat.

sb> I have no idea what happens when you build against an older version
sb> and run against a newer version.  I'll try that later if no one else
sb> can do it.

The release notes to e.g. 5.4.21 state:
Due to the new, improved locale, the Linux C library 5.4.21 is binary
compatible with libc 5.3.12 but not vice versa. The binaries
compiled/linked with libc.so.5.4.21 may not run with libc.so.5.3.12.
You may need to regenerate locale files for the new locale in libc
5.4.21 if you use locales other tha C/POSIX which are the defaults.

I would suggest to link against libc.5.3.12 if possible. Otherwise
state somewhere that libc.5.4.23 is needed.

Andreas
--
 Andreas Jaeger   aj@arthur.pfalz.de    jaeger@informatik.uni-kl.de
  Altenwoogstr. 31      67655 Kaiserslautern, Germany
   Phone +49 631 3403051 Fax/Modem +49 631 3403052
    http://www.student.uni-kl.de/~ajaeger/

