{"id":49,"date":"2005-11-05T22:38:22","date_gmt":"2005-11-05T21:38:22","guid":{"rendered":"http:\/\/web.glandium.org\/blog\/?p=49"},"modified":"2010-01-27T08:52:45","modified_gmt":"2010-01-27T07:52:45","slug":"why-why-why","status":"publish","type":"post","link":"https:\/\/glandium.org\/blog\/?p=49","title":{"rendered":"Why ? Why ? Why ?"},"content":{"rendered":"<p><code><br \/>\nmh@namakemono:\/tmp$ wget \"http:\/\/download.mozilla.org\/?product=firefox-1.5b2&os=linux&lang=en-US\"<br \/>\n(...)<br \/>\nmh@namakemono:\/tmp$ tar -zxf firefox-1.5b2.tar.gz<br \/>\nmh@namakemono:\/tmp$ cd firefox\/<br \/>\nmh@namakemono:\/tmp\/firefox$ .\/firefox<br \/>\n.\/run-mozilla.sh: line 131:  7540 Segmentation fault      \"$prog\" ${1+\"$@\"}<br \/>\nmh@namakemono:\/tmp\/firefox$ ldd firefox-bin | grep c++<br \/>\n        libstdc++.so.5 => \/usr\/lib\/libstdc++.so.5 (0xb7610000)<br \/>\n        libstdc++.so.6 => \/usr\/lib\/libstdc++.so.6 (0xb67b3000)<br \/>\n<\/code><\/p>\n<p>Why on earth is upstream's firefox linked against BOTH libstdc++5 AND libstdc++6 ?!?<\/p>\n<p><b>Update:<\/b> Okay, now, with a little more thinking:<br \/>\n<code><br \/>\nmh@namakemono:\/tmp\/firefox$ LD_LIBRARY_PATH=. ldd firefox-bin | grep c++<br \/>\n        libstdc++.so.5 => \/usr\/lib\/libstdc++.so.5 (0xb75a0000)<br \/>\n<\/code><\/p>\n<p>And after a bit more investigation, it appears that the gtk module for scim is responsible for loading libstdc++.so.6...<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mh@namakemono:\/tmp$ wget &#8220;http:\/\/download.mozilla.org\/?product=firefox-1.5b2&#038;os=linux&#038;lang=en-US&#8221; (&#8230;) mh@namakemono:\/tmp$ tar -zxf firefox-1.5b2.tar.gz mh@namakemono:\/tmp$ cd firefox\/ mh@namakemono:\/tmp\/firefox$ .\/firefox .\/run-mozilla.sh: line 131: 7540 Segmentation fault &#8220;$prog&#8221; ${1+&#8221;$@&#8221;} mh@namakemono:\/tmp\/firefox$ ldd firefox-bin | grep c++ libstdc++.so.5 => \/usr\/lib\/libstdc++.so.5 (0xb7610000) libstdc++.so.6 => \/usr\/lib\/libstdc++.so.6 (0xb67b3000) Why on earth is upstream&#8217;s firefox linked against BOTH libstdc++5 AND libstdc++6 ?!? Update: Okay, now, with a little more [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[23],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-firefox","tag-en"],"_links":{"self":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":1,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}