#10567 closed defect (invalid)
undefined symbol: vorbis_version_string
Reported by: | Chelmite | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.1.14 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
After upgrading to Ubuntu 12.04 (x86_64), I cannot get virtualbox to run. When run from the command line, I get the message:
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/x86_64-linux-gnu/libsndfile.so.1: undefined symbol: vorbis_version_string
I have tried using apt-get to remove then re-install virtualbox, but it still gets the same message.
Recently, the libavcodec53 was installed, which uninstalled a couple of other codecs. I uninstalled libavcodec53, tried installing various versions of libsndfile, codecs, and still cannot get virtualbox.
(This is especially frustrating because I need to get work done, and disable sound because it's just a distraction, and vb will not run because of some sound capability that I do not use.
Change History (15)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
% dpkg -l virtualbox-4.1 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ un virtualbox-4.1 <none> (no description available) % virtualbox --version VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/x86_64-linux-gnu/libsndfile.so.1: undefined symbol: vorbis_version_string
comment:3 by , 12 years ago
So which VirtualBox package did you install? Apparently not the one from this web page?
comment:4 by , 12 years ago
From inside the Ubuntu Software Center, it says:
x86 virtualization solution - base binaries: virtualbox 4.1.12-dfsg-2 VirtualBox: virtualbox-qt 4.1.12-dfsg-2 x86 virtualization solution - kernel module source: virtualbox-source 4.1.12-dfsg-2 guest additions iso image for VirtualBox: virtualbox-guest-additions-iso 4.1.12-1 x86 virtualization solution - kernel module sources for dkms: virtualbox-source 4.1.12-dfsg-2
comment:5 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
In that case we cannot help you, sorry Please ask the Ubuntu guys. Or just install the Precise package from this web site, see here.
comment:6 by , 12 years ago
Okay, I followed the instructions to use the package from this web site. Now dpkg reports:
% dpkg -l virtualbox-4.1 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-====================================================== ii virtualbox-4.1 4.1.14-77440~Ubuntu Oracle VM VirtualBox
But I still get:
% virtualbox VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/x86_64-linux-gnu/libsndfile.so.1: undefined symbol: vorbis_version_string % which virtualbox /usr/bin/virtualbox % ls -l /usr/bin/virtualbox /usr/bin/VBox* -rwxr-xr-x 1 root root 3035 Apr 25 15:49 /usr/bin/VBox* lrwxrwxrwx 1 root root 4 Apr 25 15:49 /usr/bin/VBoxBalloonCtrl -> VBox* lrwxrwxrwx 1 root root 4 Apr 25 15:49 /usr/bin/VBoxHeadless -> VBox* lrwxrwxrwx 1 root root 4 Apr 25 15:49 /usr/bin/VBoxManage -> VBox* lrwxrwxrwx 1 root root 4 Apr 25 15:49 /usr/bin/VBoxSDL -> VBox* -rwxr-xr-x 1 root root 10400 Apr 25 15:49 /usr/bin/VBoxTunctl* lrwxrwxrwx 1 root root 4 Apr 25 15:49 /usr/bin/VBoxVRDP -> VBox* lrwxrwxrwx 1 root root 4 Apr 25 15:49 /usr/bin/virtualbox -> VBox* % date Tue May 15 12:53:05 PDT 2012 %
comment:7 by , 12 years ago
(During the installation of virtualbox-4.1, it uninstalled all the ubuntu virtualbox packages.)
comment:8 by , 12 years ago
In that case your Ubuntu installation is somehow screwed up. I recommend you to do
sudo dpkg --configure --pending
and also make sure that your packages are up-to-date.
comment:9 by , 12 years ago
- Yeah, I updated the packages before and after I added the virtualbox repository.
- I used apt-get to install virtualbox-4.1, not dpkg, hoping that the dependencies would be met.
- "dpkg --configure --pending" didn't print anything.
- The dkms package was already installed and is up-to-date.
- I ran "apt-get update" and "apt-get upgrade"
comment:10 by , 12 years ago
I tried:
% apt-get install libsndfile1 libsndfile1-dev Reading package lists... Done Building dependency tree Reading state information... Done libsndfile1 is already the newest version. The following extra packages will be installed: libflac-dev libogg-dev libvorbis-dev The following NEW packages will be installed: libflac-dev libogg-dev libsndfile1-dev libvorbis-dev 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1,066 kB of archives. After this operation, 6,413 kB of additional disk space will be used. Do you want to continue [Y/n]? Selecting previously unselected package libogg-dev. (Reading database ... 210506 files and directories currently installed.) Unpacking libogg-dev (from .../libogg-dev_1.2.2~dfsg-1ubuntu1_amd64.deb) ... Selecting previously unselected package libflac-dev. Unpacking libflac-dev (from .../libflac-dev_1.2.1-6_amd64.deb) ... Selecting previously unselected package libvorbis-dev. Unpacking libvorbis-dev (from .../libvorbis-dev_1.3.2-1ubuntu3_amd64.deb) ... Selecting previously unselected package libsndfile1-dev. Unpacking libsndfile1-dev (from .../libsndfile1-dev_1.0.25-4_amd64.deb) ... Processing triggers for doc-base ... Processing 2 added doc-base files... Setting up libogg-dev (1.2.2~dfsg-1ubuntu1) ... Setting up libflac-dev (1.2.1-6) ... Setting up libvorbis-dev (1.3.2-1ubuntu3) ... Setting up libsndfile1-dev (1.0.25-4) ... % virtualbox VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/x86_64-linux-gnu/libsndfile.so.1: undefined symbol: vorbis_version_string
comment:11 by , 12 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:12 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Again, this is NOT a VirtualBox bug! Every application which depends on libsndfile.so.1 will fail on your host. Try the following commands:
$ ldd -r /usr/lib/x86_64-linux-gnu/libsndfile.so.1 linux-vdso.so.1 => (0x00007fff298cc000) libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007ff34eb54000) libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007ff34e685000) libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007ff34e458000) libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007ff34e251000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff34df57000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff34db99000) /lib64/ld-linux-x86-64.so.2 (0x00007ff34f02e000) $ dpkg -l libvorbis0a Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-=======================-============================================================== ii libvorbis0a 1.3.2-1ubuntu3 The Vorbis General Audio Compression Codec (Decoder library) $ dpkg -l libvorbisenc2 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-=======================-============================================================== ii libvorbisenc2 1.3.2-1ubuntu3 The Vorbis General Audio Compression Codec (Encoder library)
This is from an up-to-date Ubuntu 12.04 system. And i assume that the 'ldd -r' command will fail on your system.
comment:13 by , 12 years ago
% ldd -r /usr/lib/x86_64-linux-gnu/libsndfile.so.1 linux-vdso.so.1 => (0x00007fff71bff000) libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007ff53be19000) libvorbisenc.so.2 => /usr/local/lib/libvorbisenc.so.2 (0x00007ff53ba39000) libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x00007ff53b808000) libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007ff53b601000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff53b306000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff53af49000) /lib64/ld-linux-x86-64.so.2 (0x00007ff53c2e3000) undefined symbol: vorbis_version_string (/usr/lib/x86_64-linux-gnu/libsndfile.so.1) % dpkg -l libvorbis0a Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-================-================-================================================ ii libvorbis0a 1.3.2-1ubuntu3 The Vorbis General Audio Compression Codec (Deco % dpkg -l libvorbisenc2 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-================-================-================================================ ii libvorbisenc2 1.3.2-1ubuntu3 The Vorbis General Audio Compression Codec (Enco
comment:14 by , 12 years ago
Any suggestions on how to track this down? I used apt-get and the ubuntu software center to try to avoid dependency problems.
comment:15 by , 12 years ago
What is the output of
objdump -T /usr/lib/x86_64-linux-gnu/libvorbis.so.0|grep vorbis_version
? It might also help to do
apt-get install --reinstall libvorbis0a
What is the current output of 'dpkg -l virtualbox-4.1' on your system?