Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2007 08:47:45 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        "Carlos A. M. dos Santos" <unixmania@gmail.com>
Cc:        FreeBSD Ports List <freebsd-ports@freebsd.org>
Subject:   Re: Proposition: make x11/nvidia-driver independent of misc/compat5x
Message-ID:  <20071029084745.GB18289@FreeBSD.org>
In-Reply-To: <e71790db0710271753w407e4a2fx8043dc51f1141c5a@mail.gmail.com>
References:  <20071027155509.GA34300@ravenloft.kiev.ua> <e71790db0710271622q44eac899t76d16a4263c3de7b@mail.gmail.com> <e71790db0710271753w407e4a2fx8043dc51f1141c5a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 27, 2007 at 10:53:30PM -0200, Carlos A. M. dos Santos wrote:
> On 10/27/07, Carlos A. M. dos Santos <unixmania@gmail.com> wrote:
> > On 10/27/07, Alex Kozlov <spam@rm-rf.kiev.ua> wrote:
> > > On Sat, Oct 27, 2007 at 11:33:46AM -0200, Carlos A. M. dos Santos wrote:
> > > > Hello,
> > > >
> > > > Using the patch below it is possible to make x11/nvidia-driver
> > > > independent of misc/compat5x, by means of some library mapping. I did
> > > > this successfuly on 6.x but still did not test on 7.x. I would like to
> > > > hear some comments before submitting a PR with a change request.

What is the problem using compat5x in the first place?

> > > I think this is more correct variant:
> > >
> > > $cat /etc/libmap.conf
> > > #nvidia-driver
> > > [/usr/local/lib/libGL.so.1]
> > > libm.so.3       libm.so.4
> > >
> > > [/usr/local/lib/libXvMCNVIDIA.so.1]
> > > libc.so.5       libc.so.6
> > >
> > > [/usr/local/lib/libXvMCNVIDIA_dynamic.so.1]
> > > libc.so.5       libc.so.6
> > >
> > > [/usr/local/lib/libnvidia-cfg.so.1]
> > > libm.so.3       libm.so.4
> >
> > Ah, I forgot that one. Good catch.
> >
> > > [/usr/local/lib/xorg/modules/libwfb.so]
> > > libm.so.3       libm.so.4
> > > librpcsvc.so.2  librpcsvc.so.3

That's potentially unsafe to put next .so version of library when the
code expects previous one.  It *may* work, but be prepared for all sorts
of incompatibilities and ABI breakage.

./danfe



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