Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2012 12:56:22 -0700
From:      John Hein <jhein@symmetricom.com>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports@FreeBSD.org, Alexander Leidinger <alexander@leidinger.net>, Alexey Dokuchaev <danfe@FreeBSD.org>, x11@FreeBSD.org
Subject:   Re: Fix nvidia-like ports, help needed
Message-ID:  <20294.39398.620930.217619@gromit.timing.com>
In-Reply-To: <d0ee88b5486535475f0c1c4bf5ecea55@etoilebsd.net>
References:  <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> <d0ee88b5486535475f0c1c4bf5ecea55@etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste Daroussin wrote at 11:28 +0000 on Feb 23, 2012:
 > On 23.02.2012 08:34, Alexander Leidinger wrote:
 > > Do you havea list of packages which overzrite something, respectively
 > > do you have a list of files which are overwriten?
 > >
 > > If we just talk about the nvidia lib, installing the mesa and nvidia
 > > ones into subdirectories and asking to add (or adding
 > > automatically/optionally) ldconfig_paths="$ldconfig_paths
 > > /usr/local/lib/<port>-gl/" to rc.conf could be an option.
 > 
 > Currently, no I don't have a list of packages that overwrite things, 
 > anyway way I do really like this kind of solution, I don't know yet how 
 > this can be automated, it really looks the right way.

If the nvidia libGL can be dynamically linked with, say, a vnc server, and
have it be a drop in replacement for the mesa libGL, then ldconfig_paths
would be fine.  If not, then those apps which need the mesa libGL would
need to link with -rpath perhaps to point at the "right" libGL (or
pass appropriate path info to those apps that might use dlopen(3)).



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