SOLVED! I just needed to modify this line of "x265.pc" in "lib/pkgconfig": Libs: -L${libdir} -lx265 To: Libs: -L${libdir} -lx265 -lstdc++ -lm -lrt -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/ERROR-x265-not-found-tp4665035p4665036.html Sent from the FFmpeg-users mailing list archive at Nabble.com.