{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/496","labels_url":"https://api.github.com/repos/facebook/rocksdb/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/facebook/rocksdb/issues/496/comments","events_url":"https://api.github.com/repos/facebook/rocksdb/issues/496/events","html_url":"https://github.com/facebook/rocksdb/issues/496","id":56493201,"number":496,"title":"compilation failing on ubuntu 14.04","user":{"login":"sameermahajan","id":4393655,"avatar_url":"https://avatars.githubusercontent.com/u/4393655?v=3","gravatar_id":"","url":"https://api.github.com/users/sameermahajan","html_url":"https://github.com/sameermahajan","followers_url":"https://api.github.com/users/sameermahajan/followers","following_url":"https://api.github.com/users/sameermahajan/following{/other_user}","gists_url":"https://api.github.com/users/sameermahajan/gists{/gist_id}","starred_url":"https://api.github.com/users/sameermahajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameermahajan/subscriptions","organizations_url":"https://api.github.com/users/sameermahajan/orgs","repos_url":"https://api.github.com/users/sameermahajan/repos","events_url":"https://api.github.com/users/sameermahajan/events{/privacy}","received_events_url":"https://api.github.com/users/sameermahajan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-04T08:10:41Z","updated_at":"2015-02-04T08:10:41Z","closed_at":null,"body":"My compilation of rocksdb is failing with following errrors:\r\n\r\n/home/storagevisor/rocksdb/librocksdb.a(format.o): In function `BZip2_Uncompress':\r\n/home/storagevisor/rocksdb/./port/port_posix.h:374: undefined reference to `BZ2_bzDecompressInit'\r\n/home/storagevisor/rocksdb/./port/port_posix.h:393: undefined reference to `BZ2_bzDecompress'\r\n/home/storagevisor/rocksdb/./port/port_posix.h:412: undefined reference to `BZ2_bzDecompressEnd'\r\n/home/storagevisor/rocksdb/./port/port_posix.h:418: undefined reference to `BZ2_bzDecompressEnd'\r\n/home/storagevisor/rocksdb/librocksdb.a(block_based_table_builder.o): In function `BZip2_Compress':\r\n/home/storagevisor/rocksdb/./port/port_posix.h:321: undefined reference to `BZ2_bzCompressInit'\r\n/home/storagevisor/rocksdb/./port/port_posix.h:340: undefined reference to `BZ2_bzCompress'\r\n/home/storagevisor/rocksdb/./port/port_posix.h:356: undefined reference to `BZ2_bzCompressEnd'\r\n/home/storagevisor/rocksdb/./port/port_posix.h:362: undefined reference to `BZ2_bzCompressEnd'\r\n\r\nI tried adding -lrt -lz in my LIBS. It used to work but started failing again. I believe I had just recompiled the static rocksdb library when I started seeing these failures again."}}