[Slackbuilds-users] dolphin-emu and latest x264
Gerardo Zamudio
gerardo.zamudio at linux.com
Thu Jul 23 23:06:15 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I upgraded x264 to the latest SlackBuilds version, x264-20150223. I
tried to run Dolphin and it complained about libx264.so.138 not being
found. I thought it may have been picked up during build time so I
decided to rebuild dolphin-emu and I got the following error:
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware
- -linux/bin/ld:
warning: libx264.so.138, needed by
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/libavcodec
.so,
not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/libavcodec
.so:
undefined reference to `x264_encoder_close'
...
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/libavcodec
.so:
undefined reference to `x264_encoder_delayed_frames'
collect2: error: ld returned 1 exit status
make[2]: *** [Binaries/dolphin-emu] Error 1
make[2]: Leaving directory `/tmp/SBo/dolphin-4.0.2/build'
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all]
Error 2
make[1]: Leaving directory `/tmp/SBo/dolphin-4.0.2/build'
make: *** [all] Error 2
No problem, just go into /usr/lib64 and make a libx264.so.138 symlink:
root at hades:/usr/lib64 # ls -l libx264*
lrwxrwxrwx 1 root root 14 Jul 22 23:02 libx264.so -> libx264.so.146
*
lrwxrwxrwx 1 root root 10 Jul 22 23:02 libx264.so.138 -> libx264.so
*
- -rwxr-xr-x 1 root root 1008448 Jul 6 00:59 libx264.so.146*
Tried again and this time got the following error:
cd /tmp/SBo/dolphin-4.0.2/build/Source/Core/DolphinWX &&
/usr/bin/cmake -E cmake_link_script
CMakeFiles/dolphin-emu.dir/link.txt --verbose=1
...
/Common/libcommon.a -lpthread -lasound -lao -lopenal -lSoundTouch
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/libavcodec
.so:
undefined reference to `x264_encoder_open_138'
collect2: error: ld returned 1 exit status
make[2]: *** [Binaries/dolphin-emu] Error 1
make[2]: Leaving directory `/tmp/SBo/dolphin-4.0.2/build'
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all]
Error 2
make[1]: Leaving directory `/tmp/SBo/dolphin-4.0.2/build'
make: *** [all] Error 2
I ended up reverting to x264-20131101 which has the real
libx264.so.138 file instead of a symlink. From the error above Dolphin
seems to expect 138 for some reason.
- --
Gerardo Zamudio
Linux System Administrator
https://gerardozamudio.mx
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJVsXNnAAoJEPbPpamee1lXjhkP/iZ1jOOeaaMN/ifWSoH982Kw
H1fpv5aum74UXHh3coZP0LLdv2wrrLkrQn+p7mUsgfdO5N65UZFHzIas7N3ucSzq
t0XIkK4cBYwO4IxqQPqQN/3Jy/osLfA0wZXzrLeH7dr0wzwAv3VguhHGsyhcjgdz
Hv9BLw3uiZk2Hvz1s+iKSjPEkAH+FPBAQYXsqOaHiuRDiX8wQfbeCb9Lsr0OZpSU
UErT3yECmkUg0wrLNXhzVvAtfMN4o3bP35BauMXCiWo1Vo6JReDwAkn+rq2546Ax
oYB3FvANDZdUMxdJ2uvL64t3U8w9FBhEsfEV1iv5MawxZ7TrwygZ45xersqnThpj
nB+/S2qS6m0IPdfNr9f0N/ZXAwFjmB4/DIcTuf8VHTkGsT1ZO1dlUj/s3JzgLMYJ
tWeq2lE/FhTskzUkFANMG/+Fk5UROvAkrebjRtkH0XQhBZLJ2u80WsCvrgg5p3qz
6A1YJVnKNsTUp5NhH72AGN9DojVvokC0+siCmC4X7dKS1HGxXEkrFy6JaL1Pha28
zeOG5Q9ZSuSCXcSuJc0Z38q7lUkpdFy+MFcXBhIaK2Sohc7HjDaSegNibAEIRzqU
WLmAea1IQI3Gg51gzzEimRgc8N0UYoQZT4/eVnXXDuCjCKtgNpVU54h88c9PYkf5
mwZGQFiAaSheGNLAfhiV
=I2Ck
-----END PGP SIGNATURE-----
More information about the SlackBuilds-users
mailing list