Boost logo

Boost :

Subject: [boost] Having problems installing mysql 5.7.12 with boost ELF 32 bit, wrong ELF Class
From: Mariano Apilado (miapilado_at_[hidden])
Date: 2016-05-24 15:13:48


Hi,

I get the following error when compiling mysql-5.7.12 on Nexenta 4.0.4 OS ( Formerly known as Open Solaris / Illumos ). How do I fix the compile options or get the necessary files required to make the compile successful?

Thanks and Regards,
Mariano

The files libboost_system.so and libboost_chrono.so are the wrong ELF class: ELFCLASS32.

root_at_nex-01-test:/volumes# file /root/boost_1_59_0/stage/lib/libboost_system.so
/root/boost_1_59_0/stage/lib/libboost_system.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available

root_at_nex-01-test:/volumes# file /root/boost_1_59_0/stage/lib/libboost_system.so
/root/boost_1_59_0/stage/lib/libboost_system.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available

Error Message:

[ 95%] Linking CXX executable ../mysqlpump
cd /root/mysql-5.7.12/client/dump && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mysqlpump.dir/link.txt --verbose=1
/usr/bin/g++ -w -fpermissive -m64 -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -R'$ORIGIN/../lib' -R/usr/lib/amd64 CMakeFiles/mysqlpump.dir/program.cc.o -o ../mysqlpump libmysqlpump_lib.a -lboost_system -lboost_chrono ../base/libclient_base.a ../../libmysql/libmysqlclient.a -lsocket -lnsl -lm ../../extra/liblz4_lib.a
ld: fatal: file /root/boost_1_59_0/stage/lib/libboost_system.so: wrong ELF class: ELFCLASS32
ld: fatal: file /root/boost_1_59_0/stage/lib/libboost_chrono.so: wrong ELF class: ELFCLASS32
ld: fatal: file processing errors. No output written to ../mysqlpump
collect2: ld returned 1 exit status
gmake[2]: *** [client/mysqlpump] Error 1
gmake[2]: Leaving directory `/root/mysql-5.7.12'
gmake[1]: *** [client/dump/CMakeFiles/mysqlpump.dir/all] Error 2
gmake[1]: Leaving directory `/root/mysql-5.7.12’
gmake: *** [all] Error 2


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk