Opened 4 years ago

Closed 4 years ago

#3876 closed defect (fixed)

configure ERROR: libx264 not found

Reported by: ztutberidze 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 Changed 4 years ago by cehoyos

  • Keywords compilation removed

comment:2 Changed 4 years ago by cehoyos

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

comment:3 Changed 4 years ago by ubitux

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 Changed 4 years ago by cehoyos

  • Component changed from undetermined to build system
  • Resolution set to fixed
  • Status changed from new to closed

Fixed by Benoit Fouet in e06263ef

Note: See TracTickets for help on using tickets.