Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:3805221
Created Sep 29, 2012

mysql-5.6.7-rc compile error/failure zlib
-- MySQL 5.6.7-rc
-- Packaging as: mysql-5.6.7-rc-Linux-x86_64
-- suffixes <.a;.so>
-- OPENSSL_INCLUDE_DIR = /usr/include
-- OPENSSL_LIBRARIES = /usr/lib/libssl.a
-- CRYPTO_LIBRARY = /usr/lib/libcrypto.a
-- OPENSSL_MAJOR_VERSION = 1
-- SSL_LIBRARIES = /usr/lib/libssl.a;/usr/lib/libcrypto.a;dl
-- Using cmake version 2.8.9
-- Not building NDB
Warning: Bison executable not found in PATH
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
WITH_EMBEDDED_SERVE
WITH_READLINE
-- Build files have been written to: /home/myname/packages/mysql-5.6-dev/src/build
[ 0%] Built target INFO_BIN
[ 0%] Built target INFO_SRC
[ 0%] Built target abi_check
[ 3%] Built target edit
[ 6%] Built target strings
[ 14%] Built target mysys
[ 14%] Built target dbug
[ 14%] Built target mysys_ssl
[ 14%] Built target comp_err
[ 14%] Built target GenError
[ 18%] Built target myisam
[ 22%] Built target myisam_embedded
[ 22%] Built target myisam_ftdump
[ 22%] Built target myisamchk
[ 23%] Built target myisamlog
[ 23%] Built target myisampack
[ 23%] Built target csv
[ 23%] Built target csv_embedded
[ 32%] Built target innobase
[ 41%] Built target innobase_embedded
[ 41%] Built target gen_lex_hash
[ 41%] Built target GenServerSource
[ 42%] Built target gen_pfs_lex_token
[ 48%] Built target perfschema
[ 54%] Built target perfschema_embedded
[ 54%] Built target mytap
[ 54%] Built target pfs-t
[ 54%] Built target pfs_account-oom-t
[ 55%] Built target slave
[ 55%] Built target vio
[ 56%] Built target myisammrg
[ 58%] Built target heap
[ 59%] Built target regex
[ 60%] Built target partition
[ 72%] Built target sql
[ 74%] Built target binlog
[ 74%] Built target rpl
[ 74%] Built target master
[ 74%] Built target pfs_connect_attr-t
[ 74%] Built target pfs_host-oom-t
[ 74%] Built target pfs_instr-oom-t
[ 74%] Built target pfs_instr-t
[ 74%] Built target pfs_instr_class-oom-t
[ 75%] Built target pfs_instr_class-t
[ 75%] Built target pfs_user-oom-t
[ 77%] Built target myisammrg_embedded
[ 78%] Built target heap_embedded
[ 79%] Built target hp_test1
[ 79%] Built target hp_test2
[ 80%] Built target mysqlservices
[ 80%] Built target audit_null
[ 80%] Built target semisync_master
[ 80%] Built target semisync_slave
[ 80%] Built target auth
[ 80%] Built target auth_socket
[ 80%] Built target auth_test_plugin
[ 80%] Built target qa_auth_client
[ 80%] Built target qa_auth_interface
[ 80%] Built target qa_auth_server
[ 80%] Built target daemon_example
[ 80%] Built target ftexample
[ 80%] Built target validate_password
[ 80%] Built target re
[ 80%] Built target queues
[ 80%] Built target thr_lock
[ 81%] Built target clientlib
[ 81%] Built target libmysql
[ 81%] Built target mysqlclient
[ 81%] Built target symlink_libmysqlclient_r.a
[ 81%] Built target symlink_libmysqlclient_r.so
[ 82%] Built target symlink_libmysqlclient_r.so.18
[ 82%] Built target symlink_libmysqlclient_r.so.18.0.0
[ 82%] Built target no_plan-t
[ 82%] Built target simple-t
[ 83%] Built target skip-t
[ 83%] Built target skip_all-t
[ 83%] Built target todo-t
[ 83%] Built target basic-t
[ 83%] Built target base64-t
[ 83%] Built target lf-t
[ 83%] Built target my_atomic-t
[ 84%] Built target my_malloc-t
[ 84%] Built target my_rdtsc-t
[ 84%] Built target my_vsnprintf-t
[ 85%] Built target waiting_threads-t
Linking CXX executable innochecksum
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_free':
(.text+0x4d): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_free':
(.text+0x6b): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':
(.text+0x284): undefined reference to `deflate'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':
(.text+0x344): undefined reference to `zError'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block':
(.text+0x411): undefined reference to `inflate'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block':
(.text+0x4ca): undefined reference to `deflate'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':
(.text+0x51f): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':
(.text+0x528): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x5e1): undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x671): undefined reference to `deflateInit_'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0x8a3): undefined reference to `inflate'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0x91f): undefined reference to `zError'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
(.text+0x990): undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0xacb): undefined reference to `deflate'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0xb5f): undefined reference to `zError'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
(.text+0xbf1): undefined reference to `deflateInit_'
collect2: error: ld returned 1 exit status
make[2]: *** [extra/innochecksum] Error 1
make[1]: *** [extra/CMakeFiles/innochecksum.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
 Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment