http://bugs.winehq.org/show_bug.cgi?id=24643
Summary: OpenGL.dll is not build on VirtualBox host system with Guest Additions Product: Wine Version: 1.3.4 Platform: x86 OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: petr.sumbera@oracle.com
checking for up-to-date OpenGL version... yes -... not found checking for -lGL... (cached) not found checking for -lGLU... libGLU.so.1 ..
configure: WARNING: No OpenGL library found on this system. OpenGL and Direct3D won't be supported.
--
Problem is that configure script expects conftest to be linked with:
libGL.so.1 => /usr/lib/libGL.so.1
Where on Virtualbox host with Guest Additions it's linked with:
VBoxOGL.so => /usr/lib/VBoxOGL.so
Configure script should be probably changed like this:
8743c8743 < *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\.$LIBEXT" | sed -e "s/^.*(libGL.$LIBEXT[^ ]*).*$/\1/"';2,$d'` ;; ---
*) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | egrep "libGL\\.$LIBEXT|VBoxOGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8782c8782 < *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\.$LIBEXT" | sed -e "s/^.*(libGL.$LIBEXT[^ ]*).*$/\1/"';2,$d'` ;; ---
*) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT|VBoxOGL\\.$LIBEX" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
--
configure would proceed then like this:
checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... VBoxOGL.so => /usr/lib/VBoxOGL.so checking for -lGLU... libGLU.so.1