Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 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 
share|improve this answer
    
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 '13 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 '13 at 17:11
    
it returns ctemplate-2.0-1.i386 –  saplingPro Jan 10 '13 at 17:13
    
and I get these when I try re-installing it –  saplingPro Jan 10 '13 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 '13 at 17:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.