You are not logged in.

#1 2010-02-07 22:45:42

poopship21
Member
Registered: 2009-05-13
Posts: 177

[SOLVED] building mysql-workbench with lib32-libpng12

i installed the mysql-workbench package because i want a gui interface for making query tables (from large database and non-repetitive queries):

$ pacman -Ss mysql-workbench
community/mysql-workbench 5.1.18-1
    MySQL Workbench is a cross-platform, visual database design tool developed
    by MySQL.

however, running the app gives the following error:

$ mysql-workbench
/usr/bin/mysql-workbench-bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

looking for a solution gives:

$ pacman -Ss libpng
extra/libpng 1.4.0-2
    A collection of routines used to create PNG format graphics files
community/lib32-libpng 1.4.0-2 (lib32)
    A collection of routines used to create PNG format graphics files

i cant use libpng12 because i am running x86_64.  as far as i can tell lib32-libpng12 should satisfy the dependency.  however i still run into the error after installing this package and re-installing mysql-workbench.  is there a configuration file somewhere that i can edit to tell the app that it needs lib32-libpng12 not libpng12?  also, what is the reason that libpng (already installed) cannot be used instead of libpng12?  is it possible that libpng12 is inaccessible due to the presence of libpng?

Last edited by poopship21 (2010-02-08 01:14:27)

Offline

#2 2010-02-07 22:59:15

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] building mysql-workbench with lib32-libpng12

you don't need any libpn12 or lib32-libpng12.

mysql-workbench doesn't even link it to libpng and other dependency is linking to it.

mysql-workbench is linking to /usr/lib/libgtk-x11-2.0.so.0 (gtk2) who link to cairo, who needs libpng.

you have other cairo package installed? pacman -Qs cairo. if so, is your job to rebuild any unsupported packages

Last edited by wonder (2010-02-07 22:59:45)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-02-08 01:14:12

poopship21
Member
Registered: 2009-05-13
Posts: 177

Re: [SOLVED] building mysql-workbench with lib32-libpng12

thanks wonder that works fine

Offline

Board footer

Powered by FluxBB