LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-10-2011, 08:22 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
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.
 
Old 10-11-2011, 03:03 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by Ook View Post
/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.
 
1 members found this post helpful.
Old 10-11-2011, 08:56 AM   #3
Maris-S
Member
 
Registered: Feb 2010
Location: Latvia
Distribution: Slackware 15.0
Posts: 33

Rep: Reputation: 2
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling MySql-workbench, MultiLib packages. Maris-S Slackware 2 12-16-2010 03:51 PM
[SOLVED] Mysql-workbench error, can't start querying :( :( ? michaelinux Arch 2 11-15-2010 11:44 AM
Getting cannot find symbol error compiling java code using NetBeans 6.5 IDE rstewart Programming 1 02-13-2009 04:43 PM
LXer: Visual MySQL Database Design in MySQL Workbench LXer Syndicated Linux News 0 06-12-2008 07:00 PM
MySQL Workbench grahamtysall Linux - General 1 07-27-2007 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration