Uderc programming article aggregator sites

[SOLVED] building mysql-workbench with lib32-libpng12

Answers: Have 3 answers
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)
The best answer: 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)