I can't install an application in 64-bit

As soon as I finished typing the root’s password, it showed that there were some errors.
I’m wondering how to solve the problem.

error: Failed dependencies:
libmng.so.1 is needed by wps-office-8.1.0.3718-0.1.b1.i686
libpng12.so.0 is needed by wps-office-8.1.0.3718-0.1.b1.i686
libGLU.so.1 is needed by wps-office-8.1.0.3718-0.1.b1.i686

Then just install the required libs and try again.

Hello and welcome here.

You are giving us a hard time by not telling very much, not even the most basic information

What e.g. is the openSUSE version this is about.

May not be important in this case, but the desktop you use (KDE, Gnome, …) is often very important to know.

Then about your problem. As there are very many ways to install something and we have no crystal balls, you should tell what you did. Remember that a good problem report contains three things:

  1. what you did (very vague in this case);
  2. what you expceted to get (we can guess that you expected a flawless installation of one or more packages here);
  3. what you got instead (you posted that).

Now we do not know how you installed, but if that was using a CLI command (e.g. zypper) then you should post the complete action (prompt, command, output and next prompt) between CODE tags. You do that by clicking the # button in the toolbar above the post editor to get the tags and then copy/paste the required part from the terminnal emulator direct in between those tags. That will give us good readable information. This whish of us may not be applicable here, but may be very applicable to future postings.

I’m sorry about that. I’m a newcomer and know little about this, I’ll notice the point in the next time.

My OpenSUSE version is 12.2, and I’m using Gnome.

I downloaded a software in one website and inputed the following commands in the termainal.

sudo rpm -i wps-office-8.1.0.3718-0.1.b1.i686.rpm

After typing this, it shows:

error: Failed dependencies:
libmng.so.1 is needed by wps-office-8.1.0.3718-0.1.b1.i686
libpng12.so.0 is needed by wps-office-8.1.0.3718-0.1.b1.i686
libGLU.so.1 is needed by wps-office-8.1.0.3718-0.1.b1.i686

I’m wondering how I can install it successfully. I don’t know how to get the libs. I tried this command but it didn’t work.

sudo zypper se libmng.so.1

So, what can I do?

Thanks. But could you tell me how I can get the libs?

Your computer text is allready much better, but you forgot to post prompt, command, output and next prompt in one sweep. Thus we have now no prompts, and an interruption between the command and the output. where you tell that what follow is the output of the command. When showing it uninterrupted, we can conclude that ourselves. The less you meddle with the posted part from the terminal the better.
E.g. posting the command

sudo zypper se libmng.so.1 

and saying “it didn’t work” is not good. You should post everything:

henk@boven:~> sudo zypper se libmng.so.1
root's password:
Ophalen van metadata uit installatiebron 'openSUSE-12.2-Update' ................................[klaar]
Cache van bron 'openSUSE-12.2-Update' bouwen ...................................................[klaar]
Gegevens van installatiebron laden...
Lezen van geïnstalleerde pakketten...
Geen pakketten gevonden.
henk@boven:~>

which show that it works. It only did not find anything, but it works flawlessly!

And then about searching for software for openSUSE. You first do this by searching the standard repos you have (e.g. YaST > Software > Software management and then you the Search field).

When not found, you go to software.opensuse.org: Search I did allready and for all three libraries wanted by you, I found them.

When still not found (as is the case with your wps), you can indeed go and try to find an openSUSE oriented RMP on a website like you did. You may then hope that a good documentation about the dependenciee is on such a website (apperentrly it is missing in your case :(). BTW after downloading the RPM you can still use YaST/zypper to install it. That might be preferred above using rpm, because it then puts more info in the YaST/zypper database about what you installed.

When you can not find an openSUSE RPM at all, a tarball and building yourself might then be the last option. This often comes with all sorts of problems. But that is for another time and another software I guess.

The above is the sequence of steps to take to find and install software. The earlier in the sequence you find something, the easier to install and maintain.

On 02/20/2013 10:46 AM, fttx wrote:
>
> So, what can I do?

ok, so i guess wps-office is a MS Office like product available and
popular in China (right?)

if so, you might find one of our Chinese forums easier to use and
more populated with folks who have tracked down and installed those
missing libs before…

have a look here: http://forums.opensuse.org/aeae-chinese/

note: this is NOT to say you are unwelcome here, you certainly are
and we have some Chinese speakers in these english forums pretty
regularly…so, you will probably get an answer here also…

just saying, it might come faster in one of the other forums…


dd
openSUSE®, the “German Engineered Automobile” of operating systems!

The package is a 32bit package. Hence you will need the 32bit versions of the packages, i.e. libpng12-32bit etc. Install the three packages in their …32bit versions, then try again.

All the libraries are available in 12.2 repos. But zypper can not find them with the ‘search’ option. You must use the ‘what-provides’ option (wp) as shown below:

zypper wp libmng.so.1
Loading repository data...
Reading installed packages...
S | Name          | Type    | Version        | Arch   | Repository       
--+---------------+---------+----------------+--------+------------------
i | libmng1       | package | 1.0.10-106.1.4 | x86_64 | openSUSE-12.2-Oss
v | libmng1       | package | 1.0.10-106.1.4 | i586   | openSUSE-12.2-Oss
  | libmng1-32bit | package | 1.0.10-106.1.4 | x86_64 | openSUSE-12.2-Oss

~/ zypper wp libpng12.so.0
Loading repository data...
Reading installed packages...
S | Name             | Type    | Version      | Arch   | Repository       
--+------------------+---------+--------------+--------+------------------
  | libpng12-0       | package | 1.2.49-2.1.2 | x86_64 | openSUSE-12.2-Oss
  | libpng12-0       | package | 1.2.49-2.1.2 | i586   | openSUSE-12.2-Oss
  | libpng12-0-32bit | package | 1.2.49-2.1.2 | x86_64 | openSUSE-12.2-Oss

~/ zypper wp libGLU.so.1
Loading repository data...
Reading installed packages...
S | Name               | Type    | Version      | Arch   | Repository          
--+--------------------+---------+--------------+--------+---------------------
i | Mesa-libGLU1       | package | 8.0.4-20.7.1 | x86_64 | openSUSE-12.2-Update
v | Mesa-libGLU1       | package | 8.0.4-20.7.1 | i586   | openSUSE-12.2-Update
v | Mesa-libGLU1       | package | 8.0.4-20.4.1 | x86_64 | openSUSE-12.2-Oss   
v | Mesa-libGLU1       | package | 8.0.4-20.4.1 | i586   | openSUSE-12.2-Oss   
i | Mesa-libGLU1-32bit | package | 8.0.4-20.7.1 | x86_64 | openSUSE-12.2-Update
v | Mesa-libGLU1-32bit | package | 8.0.4-20.4.1 | x86_64 | openSUSE-12.2-Oss 

The easiest way is let to zypper do the work. Go with the shell into the directory the rpm is present. And then just type

zypper in wps-office-8.1.0.3718-0.1.b1.i686.rpm

Zypper will install the missing 32-bit packages automatically.

Of course. I already pointed to usiing zypper as a better way to install then rpm. But I should have stressed that that is most probably the solution. Thank.

Yes, wps is MS Office like product. However, I hardly think it is popular. I guess, because of too much pirated Winxp, MS Office is widely used in some places… It’s a pity that there are so many Chinese people use pirated version…

Chinese forums? I know it. But it seems that there are more people in English forums. And I think it’s not like a problem like something about Chinese inputs, so I decided to post here:).

Thanks~

Thanks a lot! I used this:

zypper in wps-office-8.1.0.3718-0.1.b1.i686.rpm

and installed it successfully.
I am a beginner and I didn’t know I can use this command

zypper in

to install the rpm.
In a word, thanks!

It works and I installed successfully.
Thank you. BTW, I’ll try to post more clearly in the next time, thanks for your teaching and helping;).

You are welcome and nice it works. Enjoy!

On 02/23/2013 02:16 PM, fttx wrote:
> Chinese forums? I know it. But it seems that there are more people in
> English forums. And I think it’s not like a problem like something about
> Chinese inputs, so I decided to post here:).

you are welcome here! i just thought you might find a faster answer
even from fewer…

but, no matter as i see you did get the answer you needed here!! great!!!


dd