I've got some stuff to report.
Downloaded and tested:
https://bitbucket.org/rude/love/issues/ ... d64.tar.gz
First of all, LÖVE 0.10.2 runs successfully with ./love, so all is good (checked the version just to be sure).
However, ldconfig fails because it's in /sbin and there's no path there by default, so I get an error:
Code: Select all
./love: 4: ./love: ldconfig: not found
causing the libstdc++ path to be added regardless of having a good libstdc++. Does /sbin/ldconfig work in all systems?
<EDIT>
Maybe this works:
Code: Select all
LDCONFIG=ldconfig
type "${LDCONFIG}" > /dev/null || LDCONFIG=/sbin/ldconfig
"${LDCONFIG}" -p | ...
Verified to work with bash, dash and busybox sh ('type' is an internal command in all three; 'type -p' doesn't work in dash).
</EDIT>
Tested on a Debian Jessie 8.5:
Code: Select all
+ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
+ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Debian
Description: Debian GNU/Linux 8.5 (jessie)
Release: 8.5
Codename: jessie
+ uname -mrs
Linux 3.16.0-4-amd64 x86_64
+ cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08)
+ lspci
+ grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation Device 13c2 (rev a1)
+ glxinfo
+ grep 'OpenGL renderer string'
OpenGL renderer string: GeForce GTX 970/PCIe/SSE2
+ glxinfo
+ grep 'OpenGL vendor'
OpenGL vendor string: NVIDIA Corporation
+ glxinfo
+ grep 'version string'
server glx version string: 1.4
client glx version string: 1.4
OpenGL core profile version string: 4.4.0 NVIDIA 367.27
OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL version string: 4.5.0 NVIDIA 367.27
OpenGL shading language version string: 4.50 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 367.27
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
I've added a ldd in front of the main love executable, and this is the output:
Code: Select all
./love: 4: ./love: ldconfig: not found
linux-vdso.so.1 (0x00007ffd743d2000)
liblove.so.0 => ./usr/lib/liblove.so.0 (0x00007fd10da6a000)
libSDL2-2.0.so.0 => ./usr/lib/libSDL2-2.0.so.0 (0x00007fd10d73b000)
libfreetype.so.6 => ./usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fd10d49c000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd10d298000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd10d07b000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd10ce73000)
libopenal.so.1 => ./usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007fd10cc19000)
libz.so.1 => ./lib/x86_64-linux-gnu/libz.so.1 (0x00007fd10ca02000)
libmodplug.so.1 => ./usr/lib/libmodplug.so.1 (0x00007fd10c730000)
libvorbisfile.so.3 => ./usr/lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007fd10c527000)
libvorbis.so.0 => ./usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fd10c2fa000)
libtheoradec.so.1 => ./usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007fd10c0de000)
libogg.so.0 => ./usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fd10bed8000)
libluajit-5.1.so.2 => ./usr/lib/libluajit-5.1.so.2 (0x00007fd10bc69000)
libmpg123.so.0 => ./usr/lib/x86_64-linux-gnu/libmpg123.so.0 (0x00007fd10ba0d000)
libphysfs.so.1 => ./usr/lib/libphysfs.so.1 (0x00007fd10b7e3000)
libstdc++.so.6 => ./libstdc++/libstdc++.so.6 (0x00007fd10b4dc000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd10b1db000)
libgcc_s.so.1 => ./lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd10afc5000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd10ac1a000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd10df32000)
Notably, the included libstdc++ has been used, and most other libraries are used from the current dir, except:
linux-vdso.so.1 (?)
/lib/x86_64-linux-gnu/libdl.so.2
/lib/x86_64-linux-gnu/libpthread.so.0
/lib/x86_64-linux-gnu/librt.so.1
/lib/x86_64-linux-gnu/libm.so.6
/lib/x86_64-linux-gnu/libc.so.6
/lib64/ld-linux-x86-64.so.2 (?)
HTH