5

While trying to install a MySql Workbench I am getting the following errors:

Error: Package: mysql-workbench-gpl-5.2.45-1fc17.i686 (/mysql-workbench-gpl-5.2.45-1fc17.i686)
   Requires: libzip.so.2
Error: Package: mysql-workbench-gpl-5.2.45-1fc17.i686 (/mysql-workbench-gpl-5.2.45-1fc17.i686)
   Requires: libctemplate.so.2

How do I install the packages libzip.so.2 and libctemplate.so.2 ? I am using Fedora 16 on 32 bit machine.

1 Answer 1

1

In general, in Linux, when something asks for libfoo.so.N, the package to install will be libfoo which contains libfoo.so.N. According to the fedora packages database, the libzip package name is libzip. You should be able to install it using yum:

yum install libzip

I could not find a libctemplate package in fedora's repository but you can download an RPM from here which you can then install using rpm:

rpm -i ctemplate-devel-2.0-1.i386.rpm 
10
  • libzip package installed fine. But I am not sure if ctemplate installed !I took a snapshot of the terminal.I tried the two rpm. One was ctemplate-devel-2.0-1.i386.rpm and the other one ctemplate-2.0-1.i386.rpm
    – saplingPro
    Jan 10, 2013 at 16:55
  • Looks fine to me. The first command failed because ctemplate-dev needs ctemplate. From what I see in the screenshot, you the proceeded to install ctemplate and then cteplate-dev installed correctly. You can check by running rpm -q ctemplate. Assuming everything is OK, try installing mysql again.
    – terdon
    Jan 10, 2013 at 17:11
  • it returns ctemplate-2.0-1.i386
    – saplingPro
    Jan 10, 2013 at 17:13
  • and I get these when I try re-installing it
    – saplingPro
    Jan 10, 2013 at 17:16
  • OK, looks like the devel package (which should contain libctemplate.so.2 was not installed). Is there a specific reason you are not using yum to install mysql-workbench? That should be able to deal with all the dependencies automatically.
    – terdon
    Jan 10, 2013 at 17:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .