Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./waf configure does not find installed libraries #248

Closed
ghost opened this issue Apr 2, 2015 · 1 comment
Closed

./waf configure does not find installed libraries #248

ghost opened this issue Apr 2, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 2, 2015

I'm trying to install Essentia with ffmpeg installed in my home, but ./waf configure fails at finding the libraries, though they are in my LD_LIBRARY_PATH. Any suggestion?

[dude@here essentia]$ echo $LD_LIBRARY_PATH 
/home/dude/.local/lib:(...)
[dude@here essentia]$ ll /home/dude/.local/lib/
total 246M
-rw-r--r-- 1 dude users 146M  2 avril 21:14 libavcodec.a
-rw-r--r-- 1 dude users 1,8M  2 avril 21:13 libavdevice.a
-rw-r--r-- 1 dude users  26M  2 avril 21:13 libavfilter.a
-rw-r--r-- 1 dude users  46M  2 avril 21:13 libavformat.a
-rw-r--r-- 1 dude users 2,0M  2 avril 21:14 libavutil.a
-rw-r--r-- 1 dude users 9,9M  2 avril 20:54 libfdk-aac.a
-rwxr-xr-x 1 dude users  954  2 avril 20:54 libfdk-aac.la
lrwxrwxrwx 1 dude users   19  2 avril 20:54 libfdk-aac.so -> libfdk-aac.so.1.0.0
lrwxrwxrwx 1 dude users   19  2 avril 20:54 libfdk-aac.so.1 -> libfdk-aac.so.1.0.0
-rwxr-xr-x 1 dude users 5,2M  2 avril 20:54 libfdk-aac.so.1.0.0
-rw-r--r-- 1 dude users 1,7M  2 avril 21:14 libpostproc.a
-rw-r--r-- 1 dude users 541K  2 avril 21:14 libswresample.a
-rw-r--r-- 1 dude users 4,4M  2 avril 21:14 libswscale.a
-rw-r--r-- 1 dude users 3,9M  2 avril 20:44 libyasm.a
drwxr-xr-x 2 dude users 4,0K  2 avril 21:14 pkgconfig
drwxr-xr-x 3 dude users   26  1 avril 16:57 python2.7
[dude@here essentia]$ ./waf configure --mode=release --with-python --with-cpptests --prefix=/home/dude/.local
Setting top to                           : /home/dude/tmp/essentia 
Setting out to                           : /home/dude/tmp/essentia/build 
→ configuring the project in /home/dude/tmp/essentia
→ Building in release mode
Checking for 'g++' (c++ compiler)        : /usr/bin/g++ 
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 
Checking for program pkg-config          : /usr/bin/pkg-config 
Checking for 'libavcodec' >= 53.25.0     : not found 
Checking for 'libavformat'               : not found 
Checking for 'libavutil'                 : not found 
Checking for 'libavresample'             : not found 
Checking for 'libswresample'             : not found 
Checking for 'samplerate'                : not found 
Checking for 'taglib' >= 1.9             : not found 
Checking for 'yaml-0.1'                  : not found 
Checking for 'fftw3f'                    : yes 
Checking for program python              : /home/dude/.localpython/bin/python 
Checking for python version              : (2, 7, 9, 'final', 0) 
Checking for library python2.7 in LIBDIR : yes 
Checking for program /home/dude/.localpython/bin/python-config,python2.7-config,python-config-2.7,python2.7m-config : /home/dude/.localpython/bin/python-config 
Checking for header Python.h                                                                                          : yes 

================================ CONFIGURATION SUMMARY ================================
- fftw detected!
- FFmpeg (or LibAv on debian/ubuntu) seems to be missing.
  The following algorithms will be ignored: ['AudioLoader', 'MonoLoader', 'EqloudLoader', 'EasyLoader', 'MonoWriter', 'AudioWriter']

- libsamplerate seems to be missing.
  The following algorithms will be ignored: ['Resample', 'MonoLoader', 'EqloudLoader', 'EasyLoader']

  Examples requiring FFmpeg / libav and libsamplerate will be ignored

- TagLib seems to be missing.
  The following algorithms will be ignored: ['MetadataReader']

- libyaml seems to be missing.
  The following algorithms will be ignored: ['YamlInput', 'YamlOutput']

- Essentia is configured without Gaia2.
  The following algorithms will be ignored: ['GaiaTransform']
  Examples requiring Gaia2 will be ignored

=======================================================================================
'configure' finished successfully (1.653s)

@dbogdanov
Copy link
Member

./waf configure is using pkg-config to detect libraries. Specify the path to your library in PKG_CONFIG_PATH environmental variable.

@ghost ghost closed this as completed Apr 9, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant