GithubHelp home page GithubHelp logo

FFmpeg does not build about ffmpeg-static HOT 7 OPEN

zimbatm avatar zimbatm commented on June 27, 2024
FFmpeg does not build

from ffmpeg-static.

Comments (7)

amnonbb avatar amnonbb commented on June 27, 2024

"-Bstatic" option instead of "-static" solved the issue

from ffmpeg-static.

ljxt523 avatar ljxt523 commented on June 27, 2024

thanks to amnonbb, i succeed.

from ffmpeg-static.

jmcbee avatar jmcbee commented on June 27, 2024
/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.

albertz avatar albertz commented on June 27, 2024

@fbm-static Maybe try with -fPIC?

from ffmpeg-static.

mondain avatar mondain commented on June 27, 2024

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.

zimbatm avatar zimbatm commented on June 27, 2024

Maybe we need a simple feature-detection script to guide these flags. The start of autohell :)

from ffmpeg-static.

mondain avatar mondain commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.