Page 1 of 1

VBox install problem (libvpx not found)

Posted: 22. Jun 2016, 18:18
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.

Re: VBox install problem (libvpx not found)

Posted: 22. Jun 2016, 18:38
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?

Re: VBox install problem (libvpx not found)

Posted: 22. Jun 2016, 18:52
by triley55
I'm trying to install VBOX 5.0.22

That version of libvpx is installed.

Re: VBox install problem (libvpx not found)

Posted: 22. Jun 2016, 19:05
by Perryg
post the configure.log as an attachment

Re: VBox install problem (libvpx not found)

Posted: 22. Jun 2016, 19:35
by triley55
configure.log attached

Re: VBox install problem (libvpx not found)

Posted: 22. Jun 2016, 20:36
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.

Re: VBox install problem (libvpx not found)

Posted: 23. Mar 2017, 18:48
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.

Re: VBox install problem (libvpx not found)

Posted: 11. May 2017, 23:37
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