Comments (7)
"-Bstatic" option instead of "-static" solved the issue
from ffmpeg-static.
thanks to amnonbb, i succeed.
from ffmpeg-static.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: ./libvpx.a(vp9_subpel_variance.asm.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
./libvpx.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/ffmpeg-static/build/libvpx-v1.3.0/libs.mk:480: recipe for target 'test_libvpx' failed
make[1]: *** [test_libvpx] Error 1
Makefile:17: recipe for target '.DEFAULT' failed
make: *** [.DEFAULT] Error 2
from ffmpeg-static.
@fbm-static Maybe try with -fPIC
?
from ffmpeg-static.
I've got similar errors like fbm-static and from what I've read, static "linking" isn't possible on Linux unless the base libraries are also compiled with -fPIC
, building ffmpeg with it doesn't resolve the issue.
from ffmpeg-static.
Maybe we need a simple feature-detection script to guide these flags. The start of autohell :)
from ffmpeg-static.
Totally, but as long as it "just works" would be great. Sorta related, I hope to get some traction over on ask ubuntu http://askubuntu.com/questions/784018/building-static-ffmpeg-libraries-on-amd64-where-libc-isnt-compiled-with-fpic
from ffmpeg-static.
Related Issues (20)
- 为什么插件突然无法被electron的childprogresss的spwan识别了直接报unknow了? HOT 2
- There are sed command errors in build.sh HOT 1
- Got errors when zimg building because of the namespace of size_t
- How compile having NVENC aceleration ?
- libpulse static HOT 1
- [Request to collaborate] I added SRT/RIST support and updated to FFmpeg 6 HOT 2
- Dependency Dashboard
- Build fails on Debian 11.0 and 12.0 HOT 1
- Vorbis audio encoder. Requires libogg.
- ./ffmpeg: error while loading shared libraries: libXv.so.1: cannot open shared object file: No such file or directory
- Freeze x264 version. HOT 1
- NVENC HOT 5
- Dynamic builds
- Unsuccessful build on centos
- x265 not supporting 10 and 12 bit
- Add a github mirror for x264 download.
- build on MacOS
- [tcp @ 0x1e091a10] Failed to resolve hostname video.flux1-1.fna.fbcdn.net: Name or service not known HOT 2
- Build fails on Ubuntu 18.04, gcc-8 (building nasm) HOT 6
- Build error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-static.