LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware - MySQL Workbench (5.2.43) - gtkmm and libcairomm-1.0.so fail (http://www.linuxquestions.org/questions/slackware-14/slackware-mysql-workbench-5-2-43-gtkmm-and-libcairomm-1-0-so-fail-4175451712/)

juju 02-26-2013 12:43 AM

Slackware - MySQL Workbench (5.2.43) - gtkmm and libcairomm-1.0.so fail
 
Greetings,

I've come to a fork in the road with an installation and I've decided to take it.

I've a new Slackware 14 machine set up. I've installed Apache and MySQL Server and would like to get MySQL Workbench going as well.

I downloaded the files from SlackBuilds and followed the directions. After a short while the installation crashes and says it can't find the gtkmm package.

I then downloaded the gtkmm package and followed its instructions. More or less the same result, but it returned and error surrounding the file libcairomm-1.0.so.

Here is the error message itself:

Code:

/usr/lib64/libcairomm-1.0.so: could not read symbols: File in wrong format

collect2: error: ld returned 1 exit status

make[3]: *** [generate_extra_defs] Error 1

make[3]: Leaving directory `/tmp/SBo/gtkmm-2.14.3/tools/extra_defs_gen'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/tmp/SBo/gtkmm-2.14.3/tools'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/tmp/SBo/gtkmm-2.14.3'
make: *** [all] Error 2

I looked at libcairomm-1.0.so and it's a symlink to libcairomm-1.0.so.1.4.0. I tried removing the link and creating a copy of *1.4.0 with the original file name. This returned the same error, above.

I'm stumped with this one. Anyone have any suggestions?

xaar 02-26-2013 06:13 AM

Did you follow required packages tree
 
Maybe you did but i want to be sure. Did you follow all the packages requiried for mySql Workbench ? Here is the tree for Slackware 14:
- lua
- ctemplate
- pexpect
- wxPython
- paramiko
- pycrypto
- gtkmm
- mm-common
- atkmm
- pangomm
- cairomm
- [graphviz] opt.
- glibmm
- libsigc++

brianL 02-26-2013 07:11 AM

If you want to install any SlackBuild that has a few dependencies (also available from slackbuilds.org), then it's worthwhile to get sbopkg. After installing it, run (as root):
Code:

sbopkg -r
Then get queuefiles:
Code:

cd /var/lib/sbopkg
then:
Code:

git clone git://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git queues
then:
Code:

sbopkg -i whatever.sqf -k

juju 02-26-2013 10:50 PM

@xaar I believe I have most of the dependencies you listed.

@brianL thanks for sbopkg. I'll be using it a lot more in the future.

I tried installing mysql-workbench-gpl with sbopkg (% sbopkg -i mysql-workbench-gpl.sqf -k) and it ended up the same way as with trying to install via SlackBuild. It can't find the latest version of gtkmm.

I used sbopkg with gtkmm.sqf and I got errors on glibmm, pangomm and atkmm. It would seem, I could go about this for a long time and get the same results.

brianL 02-27-2013 05:07 AM

I've no idea what's going wrong there. I haven't installed mysql-workbench-gpl, but I've got glibmm, pangomm, atkmm, and gtkmm, as dependencies for something else built and installed with no problem. Hit the Report button and ask for this thread to be moved to the Slackware forum, where someone with more knowhow than me might notice it.

juju 02-27-2013 05:51 PM

I reported this thread to see if it can be moved to the Slackware forum.

This is somewhat off-topic, but I'm curious to know why sbopkg take so long to install applications. I ran the command to install chromium/chrome over an hour ago and it's still going strong.

brianL 02-28-2013 08:00 AM

It's because SlackBuilds build from source (well, most of them), don't just install ready-made packages. Some take seconds, others ages.

willysr 02-28-2013 10:47 AM

i have mysql-workbench 5.2.47 working here on my system

Braqoon 02-28-2013 11:07 AM

Quote:

Originally Posted by willysr (Post 4901689)
i have mysql-workbench 5.2.47 working here on my system

Does 5.2.47 is still crashing randomly, or multiple queries problem as in 5.2.44 ?

willysr 02-28-2013 12:18 PM

I never experience random crashes on mysql workbench

juju 02-28-2013 12:44 PM

This is an installation issue. I'm a newbie, so I can't help but think I've done something wrong in the early goings of my setup of Slack-14.

I try to install mysql-workbench with sbopkg. Its install of glibmm hangs on sigc++-2.0. It gives me the following message:

Requested 'sigc++-2.0 >= 2.2.10' but version of libsigc++ is 2.2.9

I try installing libsigc++ via sbopkg and get this message:

No valid packages found. Exiting.

So I try installing libsigc++ with SlackBuild. After entering:

upgradepkg --install-new /tmp/libsigc++-2.2.10-i486-1_SBo.tgz

I get this message:

Skipping package libsigc++-2.2.10-i486-1_SBo (already installed)

So, libsigc++ 2.2.10 is already installed and glibmm doesn't recognize it? I'm confused.

ponce 02-28-2013 12:46 PM

just to confirm that mysql-workbench-gpl builds and run fine also on my full install here (slackware64-current).

I used sbopkg:
- I created a file /var/lib/sbopkg/queues/mysql-workbench-gpl.sqf with this content
Code:

wxPython
lua
pexpect
pycrypto
paramiko
ctemplate
mm-common
libsigc++
glibmm
cairomm
pangomm
atkmm
gtkmm
mysql-workbench-gpl

- I ran
Code:

sbopkg -i mysql-workbench-gpl
chose the queue and processed it.

I suspect you are using prebuilt packages and mixing 32bit (i486) and 64bit (x86_64) versions: check in /var/log/packages.
It's pretty much a semplification, but to list all the 32bit packages installed
Code:

cd /var/log/packages ; ls -1 *-i*86-* | less
to list the 64bit ones
Code:

cd /var/log/packages ; ls -1 *-x86_64-* | less
to check which version of Slackware you have installed
Code:

cat /etc/slackware-version
to check the arch
Code:

uname -m

juju 02-28-2013 01:27 PM

If I type: % sbopkg -i mysql-workbench-gpl and select Q (queue), it shows the same list of packages as yours.

I proceed and the install of glibmm stalls as I mentioned in my previous post.

I followed your instructions per listing *86 and *_64 files in /var/log/packages. There are a total of 1087 files in this folder. The *86 ls returns 973, but *_64 lists 0.

I'm running Slackware 14.0 and uname -m returns i686.

willysr 02-28-2013 01:27 PM

Quote:

Originally Posted by juju (Post 4901167)
I reported this thread to see if it can be moved to the Slackware forum.

This is somewhat off-topic, but I'm curious to know why sbopkg take so long to install applications. I ran the command to install chromium/chrome over an hour ago and it's still going strong.

building chromium really requires a lot of time and disk space :)

willysr 02-28-2013 01:31 PM

Quote:

Originally Posted by juju (Post 4901788)
If I type: % sbopkg -i mysql-workbench-gpl and select Q (queue), it shows the same list of packages as yours.

I proceed and the install of glibmm stalls as I mentioned in my previous post.

I followed your instructions per listing *86 and *_64 files in /var/log/packages. There are a total of 1087 files in this folder. The *86 ls returns 973, but *_64 lists 0.

I'm running Slackware 14.0 and uname -m returns i686.

That means you are running Slackware 14.0 32 bit, but i'm confused with this line

Quote:

/usr/lib64/libcairomm-1.0.so: could not read symbols: File in wrong format
This shouldn't exist on 32 bit machine


All times are GMT -5. The time now is 05:14 AM.