LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Error compiling mysql workbench -libstdc++.so could not read symbol (https://www.linuxquestions.org/questions/slackware-14/error-compiling-mysql-workbench-libstdc-so-could-not-read-symbol-907491/)

Ook 10-10-2011 08:22 PM

Error compiling mysql workbench -libstdc++.so could not read symbol
 
Slackware 13.37 64 bit

I'm trying to compile mysql workbench. If I do it from source, or if I use the slackbuilds script, I get the same errors:

/usr/lib64/../lib/libstdc++.so: could not read symbols: File in wrong format

I understand what it is telling me, but I'm not sure what to do to make it work.

wildwizard 10-11-2011 03:03 AM

Quote:

Originally Posted by Ook (Post 4495099)
/usr/lib64/../lib/libstdc++.so

Looking closely that path does not do what it should be doing.

You don't happen to have a multilib install do you? It looks like it is confused about which architecture it wants to link against.

Maris-S 10-11-2011 08:56 AM

I had the same problem too on slackware 13.1, here is my forum topic about it:

http://www.linuxquestions.org/questi...ackages-850734

I even tried to use directive LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}", but it didn't help.

It looks like there is something wrong with gcc-g++ multilib package. Just try to install original gcc-g++ package from slackware64 before compiling MySql workbench, then after compilation is done you can install back multilib package, Workbench itself will work without problems, it is only about compiling.


All times are GMT -5. The time now is 06:51 PM.