FG
💻 Software

How to specify search folder for external library while building ffmpeg

Fresh5 days ago
Mar 15, 202614625 views
Confidence Score0%
0%

Problem

I want to compile and build ffmpeg in my home folder since I don't have sudo privilege, but how to specify search directories for external libraries while running configure? I try to enable libx264, which is installed in my home folder instead of '/usr/local/', but returns me that libx264 can not b…

Error Output

./configure --enable-libx264

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to specify search folder for external library while building ffmpeg

Low Risk

You need to specify extra CFLAGS and LDFLAGS to include the extra library locations: should do it. You need to specify not the root folder of the libx264, but the folders within that where the compiled library and include files are respectively. You…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment