[vlc-devel] vlc 2.2.0-git 64-bit build ignores LDFLAGS, grabs 32-bit libGL

darx at sent.com darx at sent.com
Mon Jul 8 20:32:09 CEST 2013


On Mon, Jul 8, 2013, at 11:11 AM, Rémi Denis-Courmont wrote:
> VLC uses pkg-config to find GL. Your system is probably misconfigured.

Hm, lots of other builds here have no problems finding/linking the right
libGL.

Ok, here's what I've got:

pkg-config --libs gl
	-lGL

ldconfig -p | grep -i libGL\.so
	libGL.so.1 (libc6,x86-64) => /usr/lib64/libGL.so.1
	libGL.so.1 (libc6) => /usr/lib/libGL.so.1
	libGL.so (libc6,x86-64) => /usr/lib64/libGL.so
	libGL.so (libc6) => /usr/lib/libGL.so

ls -al \
 /usr/lib64/libGL.so.1 \
 /usr/lib/libGL.so.1 \
 /usr/lib64/libGL.so \
 /usr/lib/libGL.so

	lrwxrwxrwx 1 root root 10 May  6 17:00 /usr/lib64/libGL.so ->
	libGL.so.1*
	lrwxrwxrwx 1 root root 15 May  6 17:00 /usr/lib64/libGL.so.1 ->
	libGL.so.319.23*
	lrwxrwxrwx 1 root root 10 May  6 17:00 /usr/lib/libGL.so ->
	libGL.so.1*
	lrwxrwxrwx 1 root root 15 May  6 17:00 /usr/lib/libGL.so.1 ->
	libGL.so.319.23*

file \
  /usr/lib64//libGL.so.319.23 \
  /usr/lib//libGL.so.319.23

	/usr/lib64//libGL.so.319.23: ELF 64-bit LSB shared object,
	x86-64, version 1 (SYSV), dynamically linked, stripped
	/usr/lib//libGL.so.319.23:   ELF 32-bit LSB shared object, Intel
	80386, version 1 (SYSV), dynamically linked, stripped

What's possibly 'misconfigured' from VLC's perspective ?



More information about the vlc-devel mailing list