{"id":41,"date":"2008-06-12T11:14:30","date_gmt":"2008-06-12T16:14:30","guid":{"rendered":"http:\/\/www.inguz.net\/?p=41"},"modified":"2008-06-12T11:14:32","modified_gmt":"2008-06-12T16:14:32","slug":"stupid-packages","status":"publish","type":"post","link":"https:\/\/www.inguz.net\/?p=41","title":{"rendered":"Stupid packages"},"content":{"rendered":"<p>So I somehow broke OpenGL on my Gentoo desktop yesterday. I noticed it because my screensaver stopped working. It&#8217;s the only thing that uses GL all the time. So I started trying various things to fix the problem such as good old revdep-rebuild. It immediately complains about freeglut having a problem and tries to emerge it. Then I get a wonderfully generic error, &#8220;ld: cannot find -lGL&#8221;. Great, the linker can&#8217;t find a file and is complaining that it&#8217;s arguments are the file and it can&#8217;t find them. So what file is it looking for and why can&#8217;t the linker find it.<\/p>\n<p>After much reading about lots of things that didn&#8217;t seem to apply I found one that was close. It said to try and update which OpenGL libraries are being used via eselect. &#8220;eselect opengl list&#8221; will show you what it thinks it has. &#8220;eselect opengl set #&#8221; will assign which library to use. It complained that it couldn&#8217;t find openGL.so. A-ha! Now we&#8217;re getting somewhere. Well you can find it as a symbolic link at \/usr\/lib\/openGL.so and it links to \/usr\/lib\/openGL.so.1 and that doesn&#8217;t exist. So I created a symbolic link \/usr\/lib\/openGL.so.1 to \/usr\/lib\/opengl\/xorg-x11\/lib\/libGL.so and BINGO! everything now works.<\/p>\n<p>What a pain in the ass and how did the symbolic link to that file get deleted in the first place???<\/p>\n<p>Well it&#8217;s fixed and only wasted about 4 hours of my life really fixing something that isn&#8217;t even terribly relevant to my job BUT my screensaver works again. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I somehow broke OpenGL on my Gentoo desktop yesterday. I noticed it because my screensaver stopped working. It&#8217;s the only thing that uses GL all the time. So I started trying various things to fix the problem such as good old revdep-rebuild. It immediately complains about freeglut having a problem and tries to emerge &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.inguz.net\/?p=41\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Stupid packages&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-linux","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pbhOv-F","_links":{"self":[{"href":"https:\/\/www.inguz.net\/index.php?rest_route=\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inguz.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inguz.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inguz.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inguz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=41"}],"version-history":[{"count":0,"href":"https:\/\/www.inguz.net\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inguz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inguz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inguz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}