Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: VirtualBox fails with libpng.so.0()(64bit) error

  1. #1

    Default VirtualBox fails with libpng.so.0()(64bit) error

    Hey all, I just installed OpenSuSE 13.1 on my workstation at work (I installed it at home and liked it so now I'm dual-booting it at work). The install went smoothly and now I'm installing assorted programs. I just downloaded VirtualBox 4.3.8 from the VirtualBox website but when I try to do the rpm -i I get the following errors:

    Code:
    SuseDesk:/home/jobee/Downloads # rpm -i VirtualBox-4.3-4.3.8_92456_openSUSE123-1.x86_64.rpm
    warning: VirtualBox-4.3-4.3.8_92456_openSUSE123-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
    error: Failed dependencies:
            libpng12.so.0()(64bit) is needed by VirtualBox-4.3-4.3.8_92456_openSUSE123-1.x86_64
            libpng12.so.0(PNG12_0)(64bit) is needed by VirtualBox-4.3-4.3.8_92456_openSUSE123-1.x86_64
            libvpx.so.1()(64bit) is needed by VirtualBox-4.3-4.3.8_92456_openSUSE123-1.x86_64
    I installed libpng and libvpx but both versions installed as 32-bit versions and I can't find 64-bit versions of the software. I've tried Googling the error messages but nothing recent shows up. I tried running:

    Code:
    zypper install gcc make automake autoconf kernel-source kernel-syms kernel-devel
    and then rebooting but still no joy. I've tried to use VirtualBox from a repo before but had too many problems. This would have been the third VirtualBox installation I've done (v13.1 and v12.x at home) but I can't figure this one out. Any help here would be greatly appreciated.

    Thanks,

    Joe B

  2. #2

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    Oh, and I ran

    Code:
    zypper update
    before I did the big install to make sure I was current.

    Thanks,

    Joe B

  3. #3

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    Install libpng12-0 from the standard OSS repo and it should work.

    Or use zypper to install the VirtualBox rpm, then needed dependencies are installed automatically.

    Or just use the virtualbox packages included in openSUSE. You can install them either with YaST or zypper.

    PS: You need to install libvpx1 as well.
    Last edited by wolfi323; 20-Mar-2014 at 15:09.

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    Why not install via yast or zypper so that all the dependencies are meet???

    In any case the libs will not have 64 in their names 32bit have 32bit in their names.

  5. #5

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    PS: If you ever encounter a similar problem in the future, this would also install the missing packages:
    Code:
    sudo zypper in "libpng12.so.0()(64bit)" "libpng12.so.0(PNG12_0)(64bit)" "libvpx.so.1()(64bit)"
    ("libpng12.so.0(PNG12_0)(64bit)" is superfluous in this case though)

  6. #6

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    On 03/20/2014 06:06 PM, jbruyet pecked at the keyboard and wrote:
    > Oh, and I ran
    >
    >
    > Code:
    > --------------------
    > zypper update
    > --------------------
    >
    >
    > before I did the big install to make sure I was current.
    >
    > Thanks,
    >
    > Joe B
    >
    >

    Try also

    /code
    zypper in libpng12-0 libvpx1

    to install the 64 bit versions. I run VB from the VB site and don't have
    problems.

    You might also add the VB repo to further reduce problems. Info is at
    https://www.virtualbox.org/wiki/Linux_Downloads

    Ken

  7. #7

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    Would everyone recommend that I use a repo install of VirtualBox as opposed to downloading the RPM from the Oracle website? Like I mentioned in my original post I I've had troubles in the past with VB installs from repos but that was with a different distribution. I need a stable install because I'm going to be using this at work and I don't want any problems cropping up just before a deadline.

    Thanks,

    Joe B

  8. #8

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    Quote Originally Posted by jbruyet View Post
    Would everyone recommend that I use a repo install of VirtualBox as opposed to downloading the RPM from the Oracle website? Like I mentioned in my original post I I've had troubles in the past with VB installs from repos but that was with a different distribution. I need a stable install because I'm going to be using this at work and I don't want any problems cropping up just before a deadline.
    The openSUSE packages worked for me everytime. But be sure to install "virtualbox-qt" (that's the official GUI), as YaST might select "vboxgtk" by default which doesn't support the current VirtualBox versions very well.

    The openSUSE packages have the advantage that you won't have to recompile the kernel module after a kernel update. OTOH they only work with the standard openSUSE kernel.

    openSUSE 13.1 comes with VirtualBox-4.2.18 (12.3 with 4.2.6), if you rather want to have the latest version, you should add the Virtualization repo first in YaST->Software Repositories->Add->Community Repos. This has 4.3.8 at the moment.
    But the packages included in standard openSUSE don't change (except for bugfixes), so might be preferable if you want a stable system...
    Last edited by wolfi323; 21-Mar-2014 at 11:32.

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    Never tried the Oracle RPM but I have downloaded and installed the generic installer which requires you to have kernel source and gc installed. Also have no problem with the repo versions. With the added plus of not having to reinstall after kernel updates.

    BTW if you found th 32 bit versions of the missing libraries then the 4 bit should also be there assuming you have correct repos set.

  10. #10

    Default Re: VirtualBox fails with libpng.so.0()(64bit) error

    And thus it begins --> I've installed VirtualBox from the repo and it installed just fine. I try to run VB and here's the error message:

    Code:
    You are not a member of the "vboxusers" group. Please add yourself to this group before starting VirtualBox. Yadda yadda yadda...
    SO, I tried to add myself to the vboxusers group from Yast but there's only one group listed -- users. So I'm thinking I need to add the vboxusers group to the system:

    Code:
    SuseDesk:/home/jobee # getent group vboxusers
    vboxusers:x:483:
    Well, ok then. I'll just add myself from the command line:

    Code:
    SuseDesk:/home/jobee # useradd -g vboxusers jobee
    useradd: user 'jobee' already exists
    I see now that I'm there but I'm not really there. I've rebooted my computer but still no joy. Any ideas on how to fix this?

    Thanks,

    Joe B

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •