obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
58.51k stars 7.81k forks source link

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

Closed OverlordTomala closed 10 years ago

OverlordTomala commented 10 years ago

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:

bazukas commented 10 years ago

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

OverlordTomala commented 10 years ago

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!