#249 Configuration fails on OpenSUSE 13.1 64bit when libs are not passed as an argument

v1.0 (example)
open
nobody
None
5
2014-09-15
2014-07-12
Tiger
No

./configure

just throws

configure: error: Could not find libavformat - part of ffmpeg
even though libs are installed. To make it work, you have to run

./configure LIBS="-lm -lavformat -lavcodec -lavutil -lpthread -lz"

I'd love to see the configure script working without any additional arguments.

Discussion

  • Justin Maggard

    Justin Maggard - 2014-07-21

    How did you install the libraries? I don't see any ffmpeg/libav packages in the OpenSUSE 13.1 distro.

     
  • Tiger

    Tiger - 2014-08-07

    Sorry for the late reply, I wasn't at home. About your question: I don't remember every detail. Should be something similar to the regular configure/make/make install stuff. "ffmpeg --version" outputs

    ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Jan 13 2014 09:33:59 with gcc 4.8 (SUSE Linux)
    configuration:
    libavutil 52. 48.101 / 52. 48.101
    libavcodec 55. 39.101 / 55. 39.101
    libavformat 55. 19.104 / 55. 19.104
    libavdevice 55. 5.100 / 55. 5.100
    libavfilter 3. 90.100 / 3. 90.100
    libswscale 2. 5.101 / 2. 5.101
    libswresample 0. 17.104 / 0. 17.104
    Unrecognized option '-version'.
    Error splitting the argument list: Option not found

    Also note that the message about missing libavformat also appears if I just omit the -lz :/

     
    Last edit: Tiger 2014-08-07
  • Tiger

    Tiger - 2014-09-15

    Update: I've just installed a new version of ffmpeg and noticed it does not install shared libraries by default. After telling configure to build those, it worked. Sorry for being a noob and making a fuss about nothing.

     

Log in to post a comment.