Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 1995 03:07:05 +0900
From:      NIIMI Satoshi <sa2c@and.or.jp>
To:        freebsd-current@FreeBSD.org
Subject:   Re: [0412-SNAP] missing libcompat.so.2.0
Message-ID:  <199504161807.DAA12647@us.and.or.jp>
In-Reply-To: <199504160710.JAA15392@uriah.heep.sax.de> J Wunsch's message of Sun, 16 Apr 1995 09:10:51 %2B0200 (MET DST)

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504161807.DAA12647>