Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Development (http://www.linux-archive.org/archlinux-development/)
-   -   [arch-dev-public] [Warning] Don't build openGL apps against fglrx-utils' libGL.so (http://www.linux-archive.org/archlinux-development/2043-arch-dev-public-warning-dont-build-opengl-apps-against-fglrx-utils-libgl-so.html)

Travis Willard 11-21-2007 11:28 AM

[arch-dev-public] [Warning] Don't build openGL apps against fglrx-utils' libGL.so
 
On Wed, 21 Nov 2007 13:25:23 +0100
"Jan de Groot" <jan@jgc.homeip.net> wrote:

> > -----Oorspronkelijk bericht-----
> > Van: arch-dev-public-bounces@archlinux.org [mailto:arch-dev-public-
> > bounces@archlinux.org] Namens Thomas Bächler
> > Verzonden: woensdag 21 november 2007 11:39
> > Aan: Public mailing list for ArchLinux development
> > Onderwerp: [arch-dev-public] [Warning] Don't build openGL apps
> > against fglrx-utils' libGL.so
> >
> > tpowa and I found this when we were trying to fix a wine bug: When
> > libgl
> > or nvidia-utils are installed, applications are linked against
> > "libGL.so.1":
> >
> > $ readelf -d /usr/lib/libGL.so|grep SONAME
> > 0x000000000000000e (SONAME) Library soname:
> > [libGL.so.1]
> >
> > However, if you try this command with fglrx-utils, it will return
> > 'libGL.so.1.2' as SONAME. The binaries this produces are compatible
> > with
> > libgl and fglrx-utils, but not with nvidia-utils, as the file
> > 'libGL.so.1.2' does not exist there (while libGL.so.1 does).
> >
> > Thus, to ensure compatibility with nvidia users, only build OpenGL
> > applications in environments where libgl or nvidia-utils is
> > installed.
>
> Can't we do the magic binary sed trick to get it replaced with
> libGL.so.1 in fglrx-utils libGL.so?
>

Or just add the libGL.so.1.2 symlink in the nvidia package?

--
Travis

_______________________________________________
arch-dev-public mailing list
arch-dev-public@archlinux.org
http://archlinux.org/mailman/listinfo/arch-dev-public

Thomas Bächler 11-21-2007 02:35 PM

[arch-dev-public] [Warning] Don't build openGL apps against fglrx-utils' libGL.so
 
Tobias Powalowski schrieb:
> I think the problem was that my chroot dropped in fglrx-utils because pacman
> chooses to install the first packages that matches with libgl, which is
> unfortunately fglrx-utils :(

This has changed, the package name is now 'libgl' and not 'libgl-dri'.
Thus, 'libgl' is preferred over 'fglrx-utils'.

_______________________________________________
arch-dev-public mailing list
arch-dev-public@archlinux.org
http://archlinux.org/mailman/listinfo/arch-dev-public


All times are GMT. The time now is 08:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.