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
undefined reference to `av_calloc@LIBAVUTIL_52' collect2: error #109
Comments
How did you install ffmpeg? You don't need to have libswresample (it seems you have a custom install to /usr/local), Essentia will compile without it just fine. You should go for libav from the official repository. |
First thanks for response. I download ffmpeg from ffmpeg git repository. Then configure it with I also try to install only libav (with ./configure, then make and make install), but then essentia building stops at 24/301. Must I add some arguments to configure to build libav properly? Do you have some instruction how to install libav properly? |
I cannot say exactly the reason now, but the ffmpeg version you install might be newer then the ones currently supported. What is wrong with installing the dependencies the recommended way? |
I also have problems with Essentia on Ubuntu 14.04. I think this is the problem: http://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04 I had it working on Ubuntu 12.04; I would be surprised if anyone got Essentia working on 14.04 because of the ffmpeg issue above. |
I solve my problem with this configuration: sudo ./waf configure --mode=release --with-python --with-examples (if I miss --with-cpptests and --with-vamp everything works ok). You may try this. |
Hi.
When I tried to compile (with command ./waf) Essentia (on Ubuntu 14.04), I got this error: /usr/local/lib/libswresample.so: undefined reference to `av_calloc@LIBAVUTIL_52'
collect2: error: ld returned 1 exit status
I already installed ffmpeg library on many different way, but got same error everythime, I tried to compile Essentia.
I konw that this is problem with ffmpeg, but I do not know how to slove this. Has anybody had same problem or anybody know how to solve this?
This is screenshot of my error.
The text was updated successfully, but these errors were encountered: