<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt5 (Fedora 18) - Cannot find -lGL]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">Today I downloaded and installed the latest Qt5.0.2 on a fresh Fedora 18 system. I am currently attempting to build and run the "camera" example application and am getting the following error:</p>
<p dir="auto">@g++ -m64 -Wl,-rpath,/home/njozwiak/Qt5.0.2/5.0.2/gcc_64 -Wl,-rpath,/home/njozwiak/Qt5.0.2/5.0.2/gcc_64/lib -Wl,-rpath-link,/home/njozwiak/Qt5.0.2/5.0.2/gcc_64/lib -o camera main.o camera.o imagesettings.o videosettings.o moc_camera.o moc_imagesettings.o moc_videosettings.o   -L/usr/X11R6/lib64 -L/home/njozwiak/Qt5.0.2/5.0.2/gcc_64/lib -lQt5MultimediaWidgets -lQt5Multimedia -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lGL -lpthread<br />
/usr/bin/ld: cannot find -lGL<br />
collect2: error: ld returned 1 exit status<br />
make: *** [camera] Error 1<br />
17:33:30: The process "/usr/bin/make" exited with code 2.<br />
Error while building/deploying project camera (kit: Desktop Qt 5.0.2 GCC 64bit)<br />
When executing step 'Make'@</p>
<p dir="auto">As this is a brand new machine I ran an initial:</p>
<p dir="auto">@sudo yum groupinstall "Development Tools"@</p>
<p dir="auto">Then I attempted to install all relevant OpenGL packages. Here is what I have installed:</p>
<p dir="auto">@Package mesa-libGL-9.1-3.fc18.x86_64 already installed and latest version<br />
Package mesa-libGLU-9.0.0-1.fc18.x86_64 already installed and latest version<br />
Package mesa-libGLw-6.5.1-13.fc18.x86_64 already installed and latest version<br />
Package mesa-libOSMesa-9.1-3.fc18.x86_64 already installed and latest version<br />
Package mesa-libGL-devel-9.1-3.fc18.x86_64 already installed and latest version--<br />
Package mesa-libGLU-devel-9.0.0-1.fc18.x86_64 already installed and latest version<br />
Package mesa-libGLw-devel-6.5.1-13.fc18.x86_64 already installed and latest version<br />
Package mesa-libOSMesa-devel-9.1-3.fc18.x86_64 already installed and latest version<br />
Package libxcb-1.9-1.fc18.x86_64 already installed and latest version<br />
Package libxcb-devel-1.9-1.fc18.x86_64 already installed and latest version<br />
Package xcb-util-0.3.8-3.fc18.x86_64 already installed and latest version<br />
Package xcb-util-devel-0.3.8-3.fc18.x86_64 already installed and latest version<br />
Package xcb-util-keysyms-devel-0.3.8-4.fc18.x86_64 already installed and latest version<br />
Package xcb-util-renderutil-devel-0.3.8-2.fc18.x86_64 already installed and latest version<br />
Package xcb-util-image-devel-0.3.8-4.fc18.x86_64 already installed and latest version<br />
Package xcb-util-wm-devel-0.3.8-3.fc18.x86_64 already installed and latest version<br />
Package flex-2.5.36-1.fc18.x86_64 already installed and latest version<br />
Package bison-2.6.1-1.fc18.x86_64 already installed and latest version<br />
Package gperf-3.0.4-5.fc18.x86_64 already installed and latest version<br />
Package libicu-devel-49.1.1-8.fc18.x86_64 already installed and latest version<br />
Package libxslt-devel-1.1.28-1.fc18.x86_64 already installed and latest version<br />
Package ruby-1.9.3.392-29.fc18.x86_64 already installed and latest version<br />
Package alsa-lib-1.0.26-2.fc18.x86_64 already installed and latest version<br />
Package gstreamer-0.10.36-2.fc18.x86_64 already installed and latest version@</p>
<p dir="auto">Any and all libGL* and libGL*-devel packages I can think of... I know I have to be missing something required, but I'm just not sure what. There is a similar post here: <a href="http://qt-project.org/forums/viewthread/22848" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/forums/viewthread/22848</a>. But the author never says what fixes it... and I have everything installed that pitonyak suggested for running in Fedora 18.</p>
<p dir="auto">People keep saying installing the "libglu1-mesa-dev" package resolves this issue for them. But I do not see this package available in Fedora.</p>
<p dir="auto">Any help would be appreciated.</p>
<p dir="auto">Thanks,<br />
Nate</p>
]]></description><link>https://forum.qt.io/topic/27166/qt5-fedora-18-cannot-find-lgl</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 10:16:21 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/27166.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 May 2013 21:52:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt5 (Fedora 18) - Cannot find -lGL on Sat, 08 Feb 2014 13:29:30 GMT]]></title><description><![CDATA[<p dir="auto">The error is caused because although they put a GL library in the /lib directory they forgot to aim a generic link at it.</p>
<p dir="auto">For instance, if you have a libGL.so.1.2.0 in your /lib directory, then point a <a href="http://libGL.so" target="_blank" rel="noopener noreferrer nofollow ugc">libGL.so</a> symbolic link to it also in the /lib directory.</p>
]]></description><link>https://forum.qt.io/post/201127</link><guid isPermaLink="true">https://forum.qt.io/post/201127</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sat, 08 Feb 2014 13:29:30 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 (Fedora 18) - Cannot find -lGL on Mon, 13 May 2013 13:45:12 GMT]]></title><description><![CDATA[<p dir="auto">I use FC18, but have not specifically tried the application you mention.</p>
<p dir="auto">I assume that the first thing that you did was "yum whatprovides libGL"</p>
<p dir="auto">Notice that I have both 64-bit and 32-bit versions of some of the libraries.</p>
<p dir="auto">Don't know if it will help, but:</p>
<p dir="auto">@[andy@pitonyak ~]$ rpm -qa | grep -i libGL<br />
mesa-libglapi-9.1-3.fc18.i686<br />
mesa-libGLU-devel-9.0.0-1.fc18.x86_64<br />
mesa-libGL-devel-9.1-3.fc18.x86_64<br />
mesa-libGLU-9.0.0-1.fc18.x86_64<br />
mesa-libGLU-9.0.0-1.fc18.i686<br />
mesa-libGL-devel-9.1-3.fc18.i686<br />
libglade2-devel-2.6.4-8.fc18.x86_64<br />
pygtk2-libglade-2.24.0-5.fc18.x86_64<br />
libgle-3.1.0-7.fc18.x86_64<br />
libglade2-2.6.4-8.fc18.x86_64<br />
libGLEW-1.7.0-3.fc18.x86_64<br />
libglademm24-2.6.7-7.fc18.x86_64<br />
mesa-libglapi-9.1-3.fc18.x86_64<br />
libglade2-2.6.4-8.fc18.i686<br />
mesa-libGLES-9.1-3.fc18.x86_64<br />
mesa-libGL-9.1-3.fc18.i686<br />
mesa-libGL-9.1-3.fc18.x86_64@</p>
<p dir="auto">Similarly:</p>
<p dir="auto">@[andy@pitonyak ~]$ rpm -qa | grep -i mesa<br />
mesa-libglapi-9.1-3.fc18.i686<br />
mesa-dri-filesystem-9.1-3.fc18.i686<br />
mesa-libGLU-devel-9.0.0-1.fc18.x86_64<br />
mesa-libGL-devel-9.1-3.fc18.x86_64<br />
mesa-libgbm-9.1-3.fc18.x86_64<br />
mesa-dri-drivers-9.1-3.fc18.x86_64<br />
mesa-libGLU-9.0.0-1.fc18.x86_64<br />
mesa-libGLU-9.0.0-1.fc18.i686<br />
mesa-libGL-devel-9.1-3.fc18.i686<br />
mesa-libgbm-9.1-3.fc18.i686<br />
mesa-libEGL-devel-9.1-3.fc18.x86_64<br />
mesa-libxatracker-9.1-3.fc18.x86_64<br />
mesa-dri-filesystem-9.1-3.fc18.x86_64<br />
mesa-libglapi-9.1-3.fc18.x86_64<br />
mesa-dri-drivers-9.1-3.fc18.i686<br />
mesa-libGLES-9.1-3.fc18.x86_64<br />
mesa-libGL-9.1-3.fc18.i686<br />
mesa-libGL-9.1-3.fc18.x86_64<br />
mesa-libEGL-9.1-3.fc18.i686<br />
mesa-libEGL-9.1-3.fc18.x86_64@</p>
]]></description><link>https://forum.qt.io/post/179060</link><guid isPermaLink="true">https://forum.qt.io/post/179060</guid><dc:creator><![CDATA[pitonyak]]></dc:creator><pubDate>Mon, 13 May 2013 13:45:12 GMT</pubDate></item></channel></rss>