Question / Help Ubuntu 17.04: libx264.so.142 while libx264.so.148 installed

Chris Yocum

New Member
I am completely new to OBS so please bear with me.

I used the PPA instructions to install OBS on Ubuntu 17.04, which seemed to install correctly but when I run it I get the error:

obs: error while loading shared libraries: libx264.so.142: cannot open shared object file: No such file or directory

I looked around and it seems that OBS is complied against the 142 version of libx264 while I have version 148 of libx264. I cannot seem to force an install of the 142 version of libx264. I can confirm this by running ldd on the installed version of OBS:

...
libx264.so.142 => not found
...

Does anyone have any suggestions on how to move forward?
 

Gol D. Ace

Member
Hi.

I can't reproduce this on a clean Zesty install.
I also have 148 installed but OBS is not complaining about it.

Running ldd gives me this

Code:
libx264.so.148 => /usr/lib/x86_64-linux-gnu/libx264.so.148 (0x00007f741f3c2000)

and apt-cache show obs-studio

Code:
apt-cache show obs-studio
Package: obs-studio
Priority: optional
Section: video
Installed-Size: 7972
Maintainer: John Bradley <jrb@turrettech.com>
Architecture: amd64
Version: 18.0.1-0obsproject1~zesty
Depends: libasound2 (>= 1.0.16), libavcodec57 (>= 7:3.2.4) | libavcodec-extra57 (>= 7:3.2.4), libavdevice57 (>= 7:3.2.4), libavfilter6 (>= 7:3.2.4) | libavfilter-extra6 (>= 7:3.2.4), libavformat57 (>= 7:3.2.4), libavutil55 (>= 7:3.2.4), libc6 (>= 2.17), libcurl3 (>= 7.16.2), libdbus-1-3 (>= 1.9.14), libfdk-aac1 (>= 0.1.4), libfontconfig1 (>= 2.11.94), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.0), libjack-jackd2-0 (>= 1.9.5~dfsg-14) | libjack-0.116, libpulse0 (>= 0.99.1), libqt5core5a (>= 5.7.0), libqt5gui5 (>= 5.3.0) | libqt5gui5-gles (>= 5.3.0), libqt5widgets5 (>= 5.7.0), libqt5x11extras5 (>= 5.6.0), libspeexdsp1 (>= 1.2~beta3.2-1), libstdc++6 (>= 5.2), libswresample2 (>= 7:3.2.4), libswscale4 (>= 7:3.2.4), libudev1 (>= 183), libv4l-0 (>= 0.5.0), libx11-6, libx11-xcb1, libx264-148, libxcb-shm0, libxcb-xfixes0, libxcb-xinerama0, libxcb1, libxcomposite1 (>= 1:0.3-1), libxfixes3, zlib1g (>= 1:1.2.6)
Filename: pool/main/o/obs-studio/obs-studio_18.0.1-0obsproject1~zesty_amd64.deb
Size: 2966070
MD5sum: c68a5d51db841138220b922d573e8535
SHA1: 566bf58db6b79b69c99211cd07da80e814db80be
SHA256: 6639158eb437342d08dbb7f5017aa57cb818d1b066ab33a768c336d80d40005e
Description-en: OBS Studio for Ubuntu
Description-md5: bf9e2195c685c37680463640944f41f3


Maybe try removing the package obs-studio and install it again?
 
Last edited:
Top