You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above log file, towards the end, this seems like the problem:
gcc -L/home/daniel/ffmpeg-build-script/workspace/lib -Wl,--as-needed -Wl,-z,noexecstack -static -L/usr/lib/x86_64-linux-gnu -o /tmp/ffconf.NXhVHFiW/test /tmp/ffconf.NXhVHFiW/test.o -lx265 -lstdc++ -lm -lgcc_s -lgcc -lgcc_s -lgcc -lrt -ldl -lnuma -ldl -lpthread -lm -lz
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: /home/daniel/ffmpeg-build-script/workspace/lib/libx265.a(api.cpp.o): in function `x265_12bit::x265_api_get_199(int)':
api.cpp:(.text+0x1fa3): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
ERROR: x265 not found using pkg-config
I don't believe this is a duplicate of #154 or #134 although it may be related. #134 mentions numa; I have libnuma installed. It's weird that -lgcc_s can't be found. Here's some ldconfig stuff:
do yourself a favor and try using docker. pkg-config is an absolute hellhole. The version compiled with these script is just dirt old, but even if you replace it with a much newer version, it will refuse to find most packages even if they are obviously there. This goes so far that even when you install a new enough version with apt it refuses to work. I literally asked it with pkg-config --modversion rav1e what version was available. It said 0.5.1, but still threw an error when compiling that ther is no rav1e >= 0.5.0...
Here's a gist of config.log: https://gist.github.com/hut8/93f226bede0c18e30863549767ca1c49
./build-ffmpeg --build --enable-gpl-and-non-free --latest --full-static
gives:
In the above log file, towards the end, this seems like the problem:
I don't believe this is a duplicate of #154 or #134 although it may be related. #134 mentions numa; I have libnuma installed. It's weird that
-lgcc_s
can't be found. Here's some ldconfig stuff:Note that
/lib
is symlinked to/usr/lib
so I don't know why it can't find libgcc_s.I feel like the error about pkg-config not being found is a red herring.
pkg-config --exists --print-errors x265
succeeds, right? Then it can't link because of the libgcc_s stuff. I'm confused at this point -- any ideas?The text was updated successfully, but these errors were encountered: