obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

[Linux] /usr/bin/ld: cannot find -lX264_LIB

Open OverlordTomala opened this issue 12 years ago • 2 comments

I'm trying to do a make and this is what I get.

[ 1%] Built target glad [ 8%] Built target jansson [ 47%] Built target libobs [ 55%] Built target libobs-opengl [ 56%] Automoc for target obs [ 56%] Built target obs_automoc [ 75%] Built target obs [ 78%] Built target linux-xshm [ 80%] Built target linux-xcomposite [ 82%] Built target linux-pulseaudio [ 83%] Built target linux-v4l2 [ 84%] Built target image-source Linking C shared module libobs-x264.so /usr/bin/ld: cannot find -lX264_LIB collect2: error: ld returned 1 exit status make[2]: *** [plugins/obs-x264/libobs-x264.so] Error 1 make[1]: *** [plugins/obs-x264/CMakeFiles/obs-x264.dir/all] Error 2 make: *** [all] Error 2

I have x264 installed dev, libs and all. So I'm not sure where to look. :x

I'm on Fedora 19 64 bit if anyone could help. It's cool seeing obs being developed for more than just windows. :dancers:

OverlordTomala avatar Jul 16 '14 08:07 OverlordTomala

x264 packages in rpmfusion repository for Fedora 19 are too old, try installing one manually or from atrpms.net.

bazukas avatar Jul 16 '14 10:07 bazukas

Thanks for the help!

Unfortunately while I have removed the old ffmpeg/x264 and installed the new one via atrpms I'm still getting the same error. I did a search for libx264 and it is on my system and got plenty of files, but when I do a search for lX264 I couldn't find anything for it.

Any suggestions?

_Update_

Did a recompile and everything completed.

Thanks again!

OverlordTomala avatar Jul 17 '14 08:07 OverlordTomala