{"action":"created","issue":{"url":"https://api.github.com/repos/Khroki/MCEdit-Unified/issues/831","repository_url":"https://api.github.com/repos/Khroki/MCEdit-Unified","labels_url":"https://api.github.com/repos/Khroki/MCEdit-Unified/issues/831/labels{/name}","comments_url":"https://api.github.com/repos/Khroki/MCEdit-Unified/issues/831/comments","events_url":"https://api.github.com/repos/Khroki/MCEdit-Unified/issues/831/events","html_url":"https://github.com/Khroki/MCEdit-Unified/issues/831","id":244847490,"number":831,"title":"[ubuntu linux x64] leveldb_mcpe doesn't build with zlib 1.2.11, fails with error: /usr/bin/ld: cannot find /: File format not recognized","user":{"login":"juozaspo","id":6626242,"avatar_url":"https://avatars1.githubusercontent.com/u/6626242?v=4","gravatar_id":"","url":"https://api.github.com/users/juozaspo","html_url":"https://github.com/juozaspo","followers_url":"https://api.github.com/users/juozaspo/followers","following_url":"https://api.github.com/users/juozaspo/following{/other_user}","gists_url":"https://api.github.com/users/juozaspo/gists{/gist_id}","starred_url":"https://api.github.com/users/juozaspo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juozaspo/subscriptions","organizations_url":"https://api.github.com/users/juozaspo/orgs","repos_url":"https://api.github.com/users/juozaspo/repos","events_url":"https://api.github.com/users/juozaspo/events{/privacy}","received_events_url":"https://api.github.com/users/juozaspo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-22T13:31:52Z","updated_at":"2017-07-22T15:45:06Z","closed_at":null,"body":"The following error happens when trying to build leveldb_mcpe on my linux installation using setup_leveldb.py. Zlib is newer (1.2.11) than required (1.2.10).\r\n```\r\njuozas@xubuntu:~/MCEdit/MCEdit-Unified/pymclevel$ python setup_leveldb.py\r\n========================================================================\r\nBuilding Linux Minecraft Pocket Edition for MCEdit...\r\n-----------------------------------------------------\r\nSearching for the needed binaries (gcc, g++, unzip, wget|curl)...\r\ng_name wget_curl True\r\nAll the needed binaries were found.\r\nDownloading sources for leveldb\r\nURL: https://codeload.github.com/Mojang/leveldb-mcpe/zip/a056ea7c18dfd7b806d6d693726ce79d75543904\r\nUnpacking leveldb\r\nCleaning archive.\r\nDownloading sources for zlib\r\nURL: https://github.com/madler/zlib/archive/4a090adef8c773087ec8916ad3c2236ef560df27.zip\r\nUnpacking zlib\r\nCleaning archive.\r\nChecking zlib.\r\nScanning /usr/lib/x86_64-linux-gnu/libfakeroot for libz.so.1.2.10\r\nScanning /usr/lib/x86_64-linux-gnu for libz.so.1.2.10\r\nScanning /lib/x86_64-linux-gnu for libz.so.1.2.10\r\nScanning /usr/lib/x86_64-linux-gnu/mesa-egl for libz.so.1.2.10\r\nScanning /usr/lib64 for libz.so.1.2.10\r\nScanning /lib64 for libz.so.1.2.10\r\nScanning /lib for libz.so.1.2.10\r\nScanning /usr/lib for libz.so.1.2.10\r\nScanning /usr/local/lib for libz.so.1.2.10\r\nScanning /home/juozas/.local/lib for libz.so.1.2.10\r\nScanning /usr/local/lib for libz.so.1.2.10\r\nScanning /lib32 for libz.so.1.2.10\r\nScanning /usr/lib32 for libz.so.1.2.10\r\nScanning . for libz.so.1.2.10\r\nScanning /lib/i386-linux-gnu for libz.so.1.2.10\r\nScanning /usr/lib/i386-linux-gnu for libz.so.1.2.10\r\nScanning /usr/lib/nvidia-340 for libz.so.1.2.10\r\nScanning /usr/lib32/nvidia-340 for libz.so.1.2.10\r\nScanning /lib32 for libz.so.1.2.10\r\nScanning /usr/lib32 for libz.so.1.2.10\r\nScanning /usr/lib/x86_64-linux-gnu/libfakeroot for libz.so.1.2\r\nScanning /usr/lib/x86_64-linux-gnu for libz.so.1.2\r\nScanning /lib/x86_64-linux-gnu for libz.so.1.2\r\nScanning /usr/lib/x86_64-linux-gnu/mesa-egl for libz.so.1.2\r\nScanning /usr/lib64 for libz.so.1.2\r\nScanning /lib64 for libz.so.1.2\r\nScanning /lib for libz.so.1.2\r\nScanning /usr/lib for libz.so.1.2\r\nScanning /usr/local/lib for libz.so.1.2\r\nScanning /home/juozas/.local/lib for libz.so.1.2\r\nScanning /usr/local/lib for libz.so.1.2\r\nScanning /lib32 for libz.so.1.2\r\nScanning /usr/lib32 for libz.so.1.2\r\nScanning . for libz.so.1.2\r\nScanning /lib/i386-linux-gnu for libz.so.1.2\r\nScanning /usr/lib/i386-linux-gnu for libz.so.1.2\r\nScanning /usr/lib/nvidia-340 for libz.so.1.2\r\nScanning /usr/lib32/nvidia-340 for libz.so.1.2\r\nScanning /lib32 for libz.so.1.2\r\nScanning /usr/lib32 for libz.so.1.2\r\nScanning /usr/lib/x86_64-linux-gnu/libfakeroot for libz.so.1\r\nScanning /usr/lib/x86_64-linux-gnu for libz.so.1\r\nScanning /lib/x86_64-linux-gnu for libz.so.1\r\n('/lib/x86_64-linux-gnu/libz.so.1.2.11', True, '1.2.11')\r\n*** WARNING: zlib was found, but its version is 1.2.11.\r\n             You can try to build with this version, but it may fail,\r\n             or the generated libraries may not work...\r\nContinue [y/N]? y\r\nBuilding leveldb...\r\ng++ -pthread -shared -Wl,-soname -Wl,libleveldb.so.1 --std=c++11 -DDLLX= -I. -I./include -std=c++0x -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DLEVELDB_ATOMIC_PRESENT -O2 -DNDEBUG -fPIC db/builder.cc db/c.cc db/dbformat.cc db/db_impl.cc db/db_iter.cc db/dumpfile.cc db/filename.cc db/log_reader.cc db/log_writer.cc db/memtable.cc db/repair.cc db/snappy_compressor.cc db/table_cache.cc db/version_edit.cc db/version_set.cc db/write_batch.cc db/zlib_compressor.cc table/block_builder.cc table/block.cc table/filter_block.cc table/format.cc table/iterator.cc table/merger.cc table/table_builder.cc table/table.cc table/two_level_iterator.cc util/arena.cc util/bloom.cc util/cache.cc util/coding.cc util/comparator.cc util/crc32c.cc util/env_boost.cc util/env.cc util/env_posix.cc util/env_win.cc util/filter_policy.cc util/hash.cc util/histogram.cc util/logging.cc util/options.cc util/status.cc util/win_logger.cc  port/port_posix.cc -o libleveldb.so.1.18  /\r\n/usr/bin/ld: cannot find /: File format not recognized\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:97: recipe for target 'libleveldb.so.1.18' failed\r\nmake: *** [libleveldb.so.1.18] Error 1\r\nPE support build failed.\r\n```\r\nDowngrading zlib is not an option for me, alot of software might depend on current version."},"comment":{"url":"https://api.github.com/repos/Khroki/MCEdit-Unified/issues/comments/317191747","html_url":"https://github.com/Khroki/MCEdit-Unified/issues/831#issuecomment-317191747","issue_url":"https://api.github.com/repos/Khroki/MCEdit-Unified/issues/831","id":317191747,"user":{"login":"juozaspo","id":6626242,"avatar_url":"https://avatars1.githubusercontent.com/u/6626242?v=4","gravatar_id":"","url":"https://api.github.com/users/juozaspo","html_url":"https://github.com/juozaspo","followers_url":"https://api.github.com/users/juozaspo/followers","following_url":"https://api.github.com/users/juozaspo/following{/other_user}","gists_url":"https://api.github.com/users/juozaspo/gists{/gist_id}","starred_url":"https://api.github.com/users/juozaspo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juozaspo/subscriptions","organizations_url":"https://api.github.com/users/juozaspo/orgs","repos_url":"https://api.github.com/users/juozaspo/repos","events_url":"https://api.github.com/users/juozaspo/events{/privacy}","received_events_url":"https://api.github.com/users/juozaspo/received_events","type":"User","site_admin":false},"created_at":"2017-07-22T15:45:06Z","updated_at":"2017-07-22T15:45:06Z","body":"nope. still fails. log:\r\n```\r\n========================================================================\r\nBuilding Linux Minecraft Pocket Edition for MCEdit...\r\n-----------------------------------------------------\r\nSearching for the needed binaries (gcc, g++, unzip, wget|curl)...\r\ng_name wget_curl True\r\nAll the needed binaries were found.\r\nDownloading sources for leveldb\r\nURL: https://codeload.github.com/Mojang/leveldb-mcpe/zip/a056ea7c18dfd7b806d6d693726ce79d75543904\r\nUnpacking leveldb\r\nreplace leveldb-mcpe-a056ea7c18dfd7b806d6d693726ce79d75543904/.gitignore? [y]es, [n]o, [A]ll, [N]one, [r]ename: A\r\nmv: negaliu perkelti 'leveldb-mcpe-a056ea7c18dfd7b806d6d693726ce79d75543904/' į 'leveldb/leveldb-mcpe-a056ea7c18dfd7b806d6d693726ce79d75543904': Aplankas netuščias\r\nCleaning archive.\r\nDownloading sources for zlib\r\nURL: https://github.com/madler/zlib/archive/4a090adef8c773087ec8916ad3c2236ef560df27.zip\r\nUnpacking zlib\r\nreplace zlib-4a090adef8c773087ec8916ad3c2236ef560df27/.gitignore? [y]es, [n]o, [A]ll, [N]one, [r]ename: A\r\nmv: negaliu perkelti 'zlib-4a090adef8c773087ec8916ad3c2236ef560df27/' į 'zlib/zlib-4a090adef8c773087ec8916ad3c2236ef560df27': Aplankas netuščias\r\nCleaning archive.\r\nChecking zlib.\r\nScanning /usr/lib/x86_64-linux-gnu/libfakeroot for libz.so.1.2.10\r\nScanning /usr/lib/x86_64-linux-gnu for libz.so.1.2.10\r\nScanning /lib/x86_64-linux-gnu for libz.so.1.2.10\r\nScanning /usr/lib/x86_64-linux-gnu/mesa-egl for libz.so.1.2.10\r\nScanning /usr/lib64 for libz.so.1.2.10\r\nScanning /lib64 for libz.so.1.2.10\r\nScanning /lib for libz.so.1.2.10\r\nScanning /usr/lib for libz.so.1.2.10\r\nScanning /usr/local/lib for libz.so.1.2.10\r\nScanning /home/juozas/.local/lib for libz.so.1.2.10\r\nScanning /usr/local/lib for libz.so.1.2.10\r\nScanning /lib32 for libz.so.1.2.10\r\nScanning /usr/lib32 for libz.so.1.2.10\r\nScanning . for libz.so.1.2.10\r\nScanning /lib/i386-linux-gnu for libz.so.1.2.10\r\nScanning /usr/lib/i386-linux-gnu for libz.so.1.2.10\r\nScanning /usr/lib/nvidia-340 for libz.so.1.2.10\r\nScanning /usr/lib32/nvidia-340 for libz.so.1.2.10\r\nScanning /lib32 for libz.so.1.2.10\r\nScanning /usr/lib32 for libz.so.1.2.10\r\nScanning /usr/lib/x86_64-linux-gnu/libfakeroot for libz.so.1.2\r\nScanning /usr/lib/x86_64-linux-gnu for libz.so.1.2\r\nScanning /lib/x86_64-linux-gnu for libz.so.1.2\r\nScanning /usr/lib/x86_64-linux-gnu/mesa-egl for libz.so.1.2\r\nScanning /usr/lib64 for libz.so.1.2\r\nScanning /lib64 for libz.so.1.2\r\nScanning /lib for libz.so.1.2\r\nScanning /usr/lib for libz.so.1.2\r\nScanning /usr/local/lib for libz.so.1.2\r\nScanning /home/juozas/.local/lib for libz.so.1.2\r\nScanning /usr/local/lib for libz.so.1.2\r\nScanning /lib32 for libz.so.1.2\r\nScanning /usr/lib32 for libz.so.1.2\r\nScanning . for libz.so.1.2\r\nScanning /lib/i386-linux-gnu for libz.so.1.2\r\nScanning /usr/lib/i386-linux-gnu for libz.so.1.2\r\nScanning /usr/lib/nvidia-340 for libz.so.1.2\r\nScanning /usr/lib32/nvidia-340 for libz.so.1.2\r\nScanning /lib32 for libz.so.1.2\r\nScanning /usr/lib32 for libz.so.1.2\r\nScanning /usr/lib/x86_64-linux-gnu/libfakeroot for libz.so.1\r\nScanning /usr/lib/x86_64-linux-gnu for libz.so.1\r\nScanning /lib/x86_64-linux-gnu for libz.so.1\r\n('/lib/x86_64-linux-gnu/libz.so.1.2.11', True, '1.2.11')\r\n*** WARNING: zlib was found, but its version is 1.2.11.\r\n             You can try to build with this version, but it may fail,\r\n             or the generated libraries may not work...\r\nContinue [y/N]? y\r\nBuilding leveldb...\r\ng++ -pthread -shared -Wl,-soname -Wl,libleveldb.so.1 --std=c++11 -DDLLX= -I. -I./include -std=c++0x -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DLEVELDB_ATOMIC_PRESENT -O2 -DNDEBUG -fPIC db/builder.cc db/c.cc db/dbformat.cc db/db_impl.cc db/db_iter.cc db/dumpfile.cc db/filename.cc db/log_reader.cc db/log_writer.cc db/memtable.cc db/repair.cc db/snappy_compressor.cc db/table_cache.cc db/version_edit.cc db/version_set.cc db/write_batch.cc db/zlib_compressor.cc table/block_builder.cc table/block.cc table/filter_block.cc table/format.cc table/iterator.cc table/merger.cc table/table_builder.cc table/table.cc table/two_level_iterator.cc util/arena.cc util/bloom.cc util/cache.cc util/coding.cc util/comparator.cc util/crc32c.cc util/env_boost.cc util/env.cc util/env_posix.cc util/env_win.cc util/filter_policy.cc util/hash.cc util/histogram.cc util/logging.cc util/options.cc util/status.cc util/win_logger.cc  port/port_posix.cc -o libleveldb.so.1.18  **/**\r\n/usr/bin/ld: cannot find **/**: File format not recognized\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:97: recipe for target 'libleveldb.so.1.18' failed\r\nmake: *** [libleveldb.so.1.18] Error 1\r\nPE support build failed.\r\n```"}}
{"actor":{"display_login":"juozaspo"}}