Opened 10 years ago

Closed 10 years ago

#3876 closed defect (fixed)

configure ERROR: libx264 not found

Reported by: Zurab Tutberidze Owned by:
Priority: normal Component: build system
Version: git-master Keywords: libx264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% compile libx264 with shared libraries disabled, and then configure ffmpeg with enabled libx264 library

if i have compiled libx264 without shared librarys and I try to configure ffmpeg with libx264 then I am getting error "ERROR: libx264 not found".
I have checked config.log and saw that there is missing in tests libdl.so, I have manually changed the line in configure script and added -ldl and now I can configure with libx264 when x264 is compiled only as static. please put it on the repository.

Change History (4)

comment:1 by Carl Eugen Hoyos, 10 years ago

Keywords: compilation removed

comment:2 by Carl Eugen Hoyos, 10 years ago

Workaround is to use --disable-opencl when compiling libx264.

comment:3 by Clément Bœsch, 10 years ago

There is a patch pending on the ffmpeg-devel mailing-list to make the libx264 detection use pkg-config in order to address this very specific problem.

comment:4 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedbuild system
Resolution: fixed
Status: newclosed

Fixed by Benoit Fouet in e06263ef

Note: See TracTickets for help on using tickets.