VBox install problem (libvpx not found)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
triley55
Posts: 3
Joined: 22. Jun 2016, 18:10

VBox install problem (libvpx not found)

Post by triley55 »

I'm trying to use ./configure to compile vbox for my kernel on an RHEL6.4, 64-bit system. I run it and am getting the following error:

Checking for libvpx:
vpx not found at -lvpx or vpx headers not found

It goes on to say to check the configure.log file, which has these errors:

src.cc:5: error: 'vpx codec version' was not declared in the scope
src.cc:6: error: 'VPX_VERSION_MAJOR' was not declared in the scope
src.cc:7: error: 'VPX_VERSION_MINOR' was not declared in the scope
src.cc:8: error: 'VPX_VERSION_PATCH' was not declared in the scope
src.cc:11: warning: suggest parentheses around '&&' within ' ||'

If I try to run yum install libvpx, I get the following:

Package libvpx-1.3.0-5.el6_5.x86_64

Can anyone help me with this? I cant find anything on google to get me past this.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VBox install problem (libvpx not found)

Post by Perryg »

Not knowing which version of virtualbox you are using doesn't help but you can always disable it in the config with --disable-libvpx

You will loose some features but it will build. Your post says "If I try to run yum install libvpx, I get the following: Package libvpx-1.3.0-5.el6_5.x86_64". Does that mean it is installed or you simply see it as a valid package?
triley55
Posts: 3
Joined: 22. Jun 2016, 18:10

Re: VBox install problem (libvpx not found)

Post by triley55 »

I'm trying to install VBOX 5.0.22

That version of libvpx is installed.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VBox install problem (libvpx not found)

Post by Perryg »

post the configure.log as an attachment
triley55
Posts: 3
Joined: 22. Jun 2016, 18:10

Re: VBox install problem (libvpx not found)

Post by triley55 »

configure.log attached
Attachments
configure.log
(4.5 KiB) Downloaded 19 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VBox install problem (libvpx not found)

Post by Perryg »

Code: Select all

Package vpx was not found in the pkg-config search path.
Perhaps you should add the directory containing `vpx.pc'
to the PKG_CONFIG_PATH environment variable
For what ever reason the libvpx you have is not discoverable. You can do what is suggested above and see if it helps, but I would use the PKG config to fix this issue myself. See your distro for how this should be properly done.
RicV
Posts: 96
Joined: 25. Aug 2015, 17:58
Primary OS: Ubuntu other
VBox Version: OSE self-compiled
Guest OSses: Linux *.*, Win*
Location: Lake Tahoe, California

Re: VBox install problem (libvpx not found)

Post by RicV »

Was this issue ever successfully resolved? I have a need to build VBox on CentOS and am having the same problem. The libvpx package is installed and up to date, according to yum, but configure cannot find it.
RicV
Posts: 96
Joined: 25. Aug 2015, 17:58
Primary OS: Ubuntu other
VBox Version: OSE self-compiled
Guest OSses: Linux *.*, Win*
Location: Lake Tahoe, California

Re: VBox install problem (libvpx not found)

Post by RicV »

I was able to resolve this on RHEL 6.7 today by installing
libvpx-devel-1.3.0-5.el6_5.x86_64.rpm
Post Reply