{"id":105,"date":"2006-07-23T16:02:04","date_gmt":"2006-07-23T20:02:04","guid":{"rendered":"http:\/\/benjamin.smedbergs.us\/blog\/2006-07-23\/freetype-config-x86-64-suckage\/"},"modified":"2006-07-23T18:24:12","modified_gmt":"2006-07-23T22:24:12","slug":"freetype-config-x86-64-suckage","status":"publish","type":"post","link":"http:\/\/benjamin.smedbergs.us\/blog\/2006-07-23\/freetype-config-x86-64-suckage\/","title":{"rendered":"freetype-config x86-64 suckage"},"content":{"rendered":"<p>Where in the world do I submit this patch, so that mozilla doesn&#8217;t have (bad) <a href=\"http:\/\/groups.google.com\/group\/mozilla.dev.builds\/browse_thread\/thread\/b5ae1440cca8e601\/6deab3a1af40b031\">hardcoded rpaths the libraries<\/a>, when linked on x86_64 Linux distros that use \/usr\/lib64 for 64-bit libraries?<\/p>\n<p><strong>Update:<\/strong> This was <a href=\"https:\/\/bugzilla.redhat.com\/bugzilla\/show_bug.cgi?id=139199\">redhat bug 139199<\/a>, fixed on rawhide and in freetype&#8217;s trunk sources.<\/p>\n<pre>--- \/usr\/bin\/freetype-config~   2005-03-04 13:47:22.000000000 -0500\r\n+++ \/usr\/bin\/freetype-config    2006-07-22 16:13:39.000000000 -0400\r\n@@ -3,9 +3,10 @@\r\n prefix=\/usr\r\n exec_prefix=\/usr\r\n exec_prefix_set=no\r\n includedir=\/usr\/include\r\n-libdir=\/usr\/lib64\r\n+default_libdir=\/usr\/lib64\r\n+libdir=$default_libdir\r\n enable_shared=yes\r\n wl=-Wl,\r\n hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'\r\n\r\n@@ -118,9 +119,9 @@\r\n   if test \"$enable_shared\" = \"yes\" ; then\r\n     eval \"rpath=\\\"$hardcode_libdir_flag_spec\\\"\"\r\n   fi\r\n   libs=\"-lfreetype -lz\"\r\n-  if test \"$libdir\" != \"\/usr\/lib\" ; then\r\n+  if test \"$libdir\" != \"$default_libdir\" ; then\r\n     echo -L$libdir $rpath $libs\r\n   else\r\n     echo $libs\r\n   fi<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Where in the world do I submit this patch, so that mozilla doesn&#8217;t have (bad) hardcoded rpaths the libraries, when linked on x86_64 Linux distros that use \/usr\/lib64 for 64-bit libraries? Update: This was redhat bug 139199, fixed on rawhide and in freetype&#8217;s trunk sources. &#8212; \/usr\/bin\/freetype-config~ 2005-03-04 13:47:22.000000000 -0500 +++ \/usr\/bin\/freetype-config 2006-07-22 16:13:39.000000000 -0400 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-mozilla"],"_links":{"self":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":0,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"wp:attachment":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}