Fix nvidia-like ports, help needed
bapt at FreeBSD.org
Thu Feb 23 21:14:11 UTC 2012
On Thu, Feb 23, 2012 at 12:56:22PM -0700, John Hein wrote:
> 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)).
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
Another solution could be to add an entry (and drop it in deinstallation to
libmap.conf) when installing the nvidia driver, in that case installing it ad
libGL-nvidia.so.1 and adding:
or something like that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120223/5f3ef941/attachment.pgp
More information about the freebsd-ports