Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

sdl and PKG_CONFIG_PATH environment variable #10

Closed
peepo opened this issue Feb 28, 2013 · 2 comments
Closed

sdl and PKG_CONFIG_PATH environment variable #10

peepo opened this issue Feb 28, 2013 · 2 comments

Comments

@peepo
Copy link

peepo commented Feb 28, 2013

what to do with PKG_CONFIG_PATH environment variable?

cannot find SDL is there more info?

using wheezy

some error messages removed with:
$ ldd /usr/bin/ffmpeg
..
libavutil.so.51 => /usr/lib/x86_64-linux-gnu/libavutil.so.51 (0x00007f0873a04000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0873782000)
..
hence
$ export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
$ export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/
but
$ cd ffmpeg-tutorial-master
$ make
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing libavformat.pc' to the PKG_CONFIG_PATH environment variable No package 'libavformat' found Package libavcodec was not found in the pkg-config search path. Perhaps you should add the directory containinglibavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libswscale was not found in the pkg-config search path.
Perhaps you should add the directory containing libswscale.pc' to the PKG_CONFIG_PATH environment variable No package 'libswscale' found Package libavutil was not found in the pkg-config search path. Perhaps you should add the directory containinglibavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package sdl was not found in the pkg-config search path.
Perhaps you should add the directory containing sdl.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl' found Package libavformat was not found in the pkg-config search path. Perhaps you should add the directory containinglibavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing libavcodec.pc' to the PKG_CONFIG_PATH environment variable No package 'libavcodec' found Package libswscale was not found in the pkg-config search path. Perhaps you should add the directory containinglibswscale.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libswscale' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing libavutil.pc' to the PKG_CONFIG_PATH environment variable No package 'libavutil' found Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containingsdl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl' found

@mpenkov
Copy link
Owner

mpenkov commented Feb 28, 2013

Looking at the error, sdl isn't the only thing you're missing. You're also missing libavutil, libswscale, libavcodec and libavformat. Those are libraries that are typically provided by ffmpeg. If you're missing them, then it's most likely you don't have ffmpeg installed correctly.

Please install ffmpeg. There's a link to detailed instructions in the README.

@cirosantilli
Copy link

On Ubuntu 15.10 you also need:

sudo apt-get install libsdl1.2-dev

I had installed libsdl2-dev, but it's not the one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants