LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-02-2016, 03:38 AM   #1
Baluditor
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Rep: Reputation: Disabled
Raspberry PI - Minidlna install error (configure: error: Could not find libavformat - part of ffmpeg)


Everybody.

I'm pretty new to this Pasberry PI stuff, and this is the first "project" what I can't get to work.

Rasberry info: Raspbian GNU/Linux 8.0 (jessie)
The ffmpeg version is: ffmpeg version 2.7.2

`ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libspeex --enable-shared --enable-pthreads --enable-libopenjpeg --enable-libfaac --enable-nonfree
libavutil 54. 27.100 / 54. 20.100
libavcodec 56. 41.100 / 56. 1. 0
libavformat 56. 36.100 / 56. 1. 0
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 0. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
`

It's installed at: `/usr/local/bin`

Whenever I'm trying to configure the minidlan-1.1.5 version I'm getting an error:
`configure: error: Could not find libavformat - part of ffmpeg`

After research I found, that I would need to point out in the minidlna configure file that the libavformat can be found at /usr/local/bin instad of /usr/local.

I believe I did that: (http://pastebin.com/VHKLwX9q) but I'm still getting the error.

Could you please help me out with this? It's driving me crazy, and was not able to find the solution after 4-5 hours of googling

Thanks a lot in advance!
 
Old 06-02-2016, 08:58 AM   #2
Baluditor
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
So I figured out!

I hope it will help for the someone who is facing the same issue.

Solution: open /etc/apt/sources.conf: sudo nano /etc/apt/sources.conf add the following line:

deb http://ftp.debian.org/debian/ stretch main contrib non-free

Save it (ctrl + o) close it (ctrl + x)

Now can install libavformat by: sudo apt-get install libavformat-dev

If it don't want to work, try to install the dependencies first (and the dependencies' dependencies).

In that way I was albe to solve it and now I have a running miniDLNA server
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: cannot find libusb support install hplip-3.9.8 redhatwannabe Linux - Enterprise 9 10-26-2022 07:31 PM
[SOLVED] configure: error: cannot find install-sh or install.sh in . ./.. ./../.. stf92 Slackware 9 08-27-2013 12:21 AM
configure: error: cannot find install-sh or install.sh in . ./.. ./../.. jialin Debian 9 12-01-2009 08:36 PM
configure: error: Couldn't find DBus >= 1.0.0, install libdbus-dev ? saroramay Linux - Newbie 1 09-20-2008 05:12 AM
Using ffmpeg (libavcodec and libavformat) libraries... _UnPrEdictAbLe_ Programming 2 07-27-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration