Date: Mon, 15 Dec 2003 08:13:28 -0600 From: Jacques Vidrine <nectar@freebsd.org> To: gwk@rahn-koltermann.de Cc: freebsd-current@freebsd.org Subject: Re: 5.2 compatibility with 5.1? Message-ID: <3FDDC188.7000604@freebsd.org> In-Reply-To: <27942123$10714827473fdd877bd4aec6.12214738@config16.schlund.de> References: <27942123$10714827473fdd877bd4aec6.12214738@config16.schlund.de>
next in thread | previous in thread | raw e-mail | index | archive | help
gwk@rahn-koltermann.de said the following on 12/15/03 4:18 AM: > Hi, > > I installed 5.2-RC1 and wanted to run my Emacs binary from the 5.1 > system. > > However, 5.2-RC1 has libutil.so.4 while 5.1 had libutil.so.3. This was > of course easy to workaround by symlinking libutil.so.3 from 5.1 into > 5.2-RC1. That type of hack is never recommended. If you need libutil.so.3, I think you would be better off to get libutil.so.3 (from a 5.1 installation). Don't just pretend that libutil.so.4 is libutil.so.3. You clearly seem to understand that different library version numbers will have incompatible interfaces. > > More serious seems the following problem: Sometimes when sending Email > from Evolution built on 5.1, running on 5.2-RC1, Evolution crashes > with an undefined reference from libc_r: > > /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/evolution/1.4/libeutil.so.0: > Undefined symbol "gethostbyaddr_r" > > Indeed gethostbyaddr_r seems to be present in libc.so on 5.1, but not > any more in 5.2-RC1. > > I thought minor number upgrades would have compatible libs? > Do we need a compat51 package? > > If libc was modified in an incompatible way, shouldn't we bump the > version number? The API for 5.x will not be officially frozen until 5.3, although it should be very rare that incompatible changes are made this late in the game. I removed gethostbyaddr_r as well as some other bogus *_r functions that were not actually re-entrant. They should have never been added in the form that they were. My intent is to add non-bogus versions before 5.3. Cheers, -- Jacques Vidrine NTT/Verio SME FreeBSD UNIX Heimdal nectar@celabo.org jvidrine@verio.net nectar@freebsd.org nectar@kth.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FDDC188.7000604>