From owner-freebsd-questions Fri Jul 4 10:05:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA00817 for questions-outgoing; Fri, 4 Jul 1997 10:05:54 -0700 (PDT) Received: from glacier.wise.edt.ericsson.se (glacier-ext.wise.edt.ericsson.se [193.180.251.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA00811 for ; Fri, 4 Jul 1997 10:05:48 -0700 (PDT) Received: from erlang (erlang.ericsson.se [147.214.36.16]) by glacier.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-0.9) with SMTP id TAA11202 for ; Fri, 4 Jul 1997 19:05:40 +0200 (MET DST) Received: from townsend.ericsson.se by erlang (SMI-8.6/LME-2.2.4) id TAA00175; Fri, 4 Jul 1997 19:05:39 +0200 Received: from townsend by townsend.ericsson.se (SMI-8.6/client-1.5) id TAA28139; Fri, 4 Jul 1997 19:06:07 +0200 Message-Id: <199707041706.TAA28139@townsend.ericsson.se> To: freebsd-questions@freebsd.org cc: kent@erlang.ericsson.se Subject: Application compatibility andshared libraries? Reply-To: kent@erlang.ericsson.se X-Mailer: Mew version 1.70 on Emacs 19.34.1 X-URL: http://www.ericsson.se/erlang Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 04 Jul 1997 19:06:07 +0200 From: Kent Boortz Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I know some just link "libc.2.2" to "libc.3.0" to get applications working that is for different versions of FreeBSD but how do I create applications that survive all 2.X versions or at least all 2.2.X versions? A reasonable rule would be that - If changing the third version number applications with shared libraries will still work. - If changing the second number static linking will still work. - If changing the first number we may have to recompile the whole thing. Is there an official rule similar to this in FreeBSD? If the application in question was distributed with full source this wouldn't be a big problem but unfortunately it isn't. /kgb