[Slackbuilds-users] dolphin-emu and latest x264

Willy Sudiarto Raharjo willysr at slackbuilds.org
Fri Jul 24 00:49:14 UTC 2015


On 07/24/2015 06:06 AM, Gerardo Zamudio wrote:
> 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.

I think you need to rebuilt the deps for dolphin-emu

here's the result of building x264 and dolphin-emu via sbopkg

x264:
  MD5SUM check for x264-snapshot-20150223-2245-stable.tar.xz ... OK
  Building package x264-20150223-x86_64-1_SBo.tgz ... OK
  Installing package x264-20150223-x86_64-1_SBo.tgz ... OK

nvidia-cg-toolkit:
  MD5SUM check for Cg-3.1_April2012_x86_64.tgz ... OK
  Building package nvidia-cg-toolkit-3.1_April2012-x86_64-1_SBo.tgz ... OK
  Installing package nvidia-cg-toolkit-3.1_April2012-x86_64-1_SBo.tgz ... OK

dolphin-emu:
  MD5SUM check for 4.0.2.tar.gz ... OK
  Building package dolphin-emu-4.0.2-x86_64-3_SBo.tgz ... OK
  Installing package dolphin-emu-4.0.2-x86_64-3_SBo.tgz ... OK


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150724/f3ea7da5/attachment.asc>


More information about the SlackBuilds-users mailing list