{"action":"closed","issue":{"url":"https://api.github.com/repos/MTG/essentia/issues/232","labels_url":"https://api.github.com/repos/MTG/essentia/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/MTG/essentia/issues/232/comments","events_url":"https://api.github.com/repos/MTG/essentia/issues/232/events","html_url":"https://github.com/MTG/essentia/issues/232","id":61769905,"number":232,"title":"libav problem causes waf to fail","user":{"login":"nlehrer","id":11224782,"avatar_url":"https://avatars.githubusercontent.com/u/11224782?v=3","gravatar_id":"","url":"https://api.github.com/users/nlehrer","html_url":"https://github.com/nlehrer","followers_url":"https://api.github.com/users/nlehrer/followers","following_url":"https://api.github.com/users/nlehrer/following{/other_user}","gists_url":"https://api.github.com/users/nlehrer/gists{/gist_id}","starred_url":"https://api.github.com/users/nlehrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlehrer/subscriptions","organizations_url":"https://api.github.com/users/nlehrer/orgs","repos_url":"https://api.github.com/users/nlehrer/repos","events_url":"https://api.github.com/users/nlehrer/events{/privacy}","received_events_url":"https://api.github.com/users/nlehrer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-15T07:47:37Z","updated_at":"2015-05-21T16:27:52Z","closed_at":"2015-05-21T16:27:52Z","body":"[UPDATE: Finally got this to work. Basically I figured out how to properly configure with fPIC:\r\n` ` ` \r\n./configure cc=\"gcc -fPIC\" [...]\r\n` ` `\r\nAnd then I had to do make clean , then make and then sudo make install. \r\n\r\nLet me know if you have the same problem and that's not working]\r\n\r\n\r\nHi, I've been having a problem installing essentia using ubuntu 14.04.2 and have tried lots of things on my own to no avail. It configures fine but then when I run ./waf at the very end [324/324] it spits out this error and fails:\r\n\r\n/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC\r\n/usr/local/lib/libavformat.a: error adding symbols: Bad value\r\ncollect2: error: ld returned 1 exit status\r\n\r\nI tried configuring with the option --share-pic but it didn't help, and then I tried adding --disable-static and --enable-shared to create .so files instead of .a but it basically wouldn't let me do that. I've tried various other ways to compile with -fPIC but it doesn't seem to help. It also doesn't seem to matter which version of libav or ffmpeg I install. \r\n\r\nAny suggestions? I wonder why nobody else seems to have had this issue with essentia, although google turns up a lot of similar results for other programs.\r\n\r\nNote that it installs fine without libav or without installing python bindings but libav is necessary for me.\r\n\r\nThanks a bunch in advance!!\r\nNathan "}}