Hi!
Some time ago I tried to compile mysql-workbench, but even with all dependencies installed I got strange errors during compilation. I thought that I missed some dependencies or was doing something wrong, but now, when compilation script is available on slackbuilds.org, I decided to repeat this compilation. During compilation errors showed up again:
Code:
/usr/lib64/../lib/libstdc++.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [mysqlcppconn.la] Error 1
make[4]: Leaving directory `/tmp/SBo/mysql-workbench-gpl-5.2.29-src/ext/cppconn/driver'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/mysql-workbench-gpl-5.2.29-src/ext/cppconn'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/mysql-workbench-gpl-5.2.29-src/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/mysql-workbench-gpl-5.2.29-src'
make: *** [all] Error 2
After some research I found that problem was in "gcc-g++-4.4.4_multilib-x86_64-1alien" package. It's quite strange. I installed original 64 bit package and compilation completed without any errors and MySql workbench works fine. Now I installed back multilib package and repeated compilation, the same error showed up again.
So, i solved my problem and I have MySql workbench installed, but I'm just curious, is it something wrong with multilib package, or did I do something wrong? Maybe I had to pass some compiler flags or something like that when using multilib system? I didn't have anything like that for other compilations I did.
By the way I'm using multilib only because of skype and wine, how can I find out which packages is necessary for them, I would better use only multilib packages I need to run this 2 programs.
Thanks!