[Slackbuilds-users] dolphin-emu and latest x264

Larry Hajali larryhaja at gmail.com
Fri Jul 24 15:27:41 UTC 2015


> > /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
> >
>
I think the problem is that ffmpeg needs to be rebuilt against a newer
installation of x264.

--Larry


> > 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
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150724/061ee738/attachment.html>


More information about the SlackBuilds-users mailing list