From owner-freebsd-current Sun Apr 16 11:26:25 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA07954 for current-outgoing; Sun, 16 Apr 1995 11:26:25 -0700 Received: from news.rim.or.jp (news.rim.or.jp [202.255.181.3]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA07948 for ; Sun, 16 Apr 1995 11:26:23 -0700 Received: (from uucp@localhost) by news.rim.or.jp (8.6.10+2.4W/3.3W-rim1.0) with UUCP id DAA25404 for freebsd-current@FreeBSD.org; Mon, 17 Apr 1995 03:26:21 +0900 Received: from us.and.or.jp (localhost [127.0.0.1]) by us.and.or.jp (8.6.11/3.3W8) with ESMTP id DAA12647 for ; Mon, 17 Apr 1995 03:07:06 +0900 Message-Id: <199504161807.DAA12647@us.and.or.jp> Reply-To: sa2c@st.rim.or.jp To: freebsd-current@FreeBSD.org Subject: Re: [0412-SNAP] missing libcompat.so.2.0 In-reply-to: <199504160710.JAA15392@uriah.heep.sax.de> J Wunsch's message of Sun, 16 Apr 1995 09:10:51 +0200 (MET DST) Date: Mon, 17 Apr 1995 03:07:05 +0900 From: NIIMI Satoshi Sender: current-owner@FreeBSD.org Precedence: bulk > Perhaps you can put it at some other place and make it only known > via ldconfig. How about to make a /usr/compat/lib directory in standard distribution and change ldconfig stuff in /etc/rc to following? if [ -x /sbin/ldconfig ]; then _LDC=/usr/lib if [ -d /usr/X11R6/lib ]; then _LDC="${_LDC} /usr/X11R6/lib" ; fi if [ -d /usr/X386/lib ]; then _LDC="${_LDC} /usr/X386/lib" ; fi if [ -d /usr/local/lib ]; then _LDC="${_LDC} /usr/local/lib" ; fi if [ -d /usr/gnu/lib ]; then _LDC="${_LDC} /usr/gnu/lib" ; fi if [ -d /usr/compat/lib ]; then _LDC="${_LDC} /usr/compat/lib" ; fi echo 'setting ldconfig path:' ${_LDC} ldconfig ${_LDC} fi And It is nice if compat2.0 stuff are stored in tar.gz file with following manner. usr/compat/lib/libgcc.so.261.0 usr/compat/lib/libcompat.so.2.0 etc... Of course, there should be a notice to users like "If you want to install a shared libraries which is used in prior releases, you must place it in /usr/compat/lib directory". Sorry for my English, and hope readers can understand this mail. -- NIIMI Satoshi