tag:blogger.com,1999:blog-833174317742362874.post2453563882105686273..comments2024-03-19T03:21:05.736-07:00Comments on Insane Coding: Creating portable Linux binariesinsane coderhttp://www.blogger.com/profile/06901386115570670209noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-833174317742362874.post-85886382545488844442024-02-06T21:48:32.807-08:002024-02-06T21:48:32.807-08:00Nice post.
also, check Linux Classes in PuneNice post.<br />also, check <a href="https://www.iteducationcentre.com/linux-rhce-training-in-pune.php" rel="nofollow">Linux Classes in Pune</a>iteducationcentrehttps://www.blogger.com/profile/16497035013294379889noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-19556046941465443512024-01-02T22:09:14.897-08:002024-01-02T22:09:14.897-08:00> Truly eye-opening, but instead of deleting co...> Truly eye-opening, but instead of deleting code from libraries, what do you think of this?<br />> https://github.com/wheybags/glibc_version_header <br /><br />I tried that for the example used here, and encountered a link error: "GLIBC_WRAP_ERROR_SYMBOL_NOT_PRESENT_IN_REQUESTED_VERSION".<br /><br />Those glibc version headers only works in cases where the versions of the functions are redirected to something which exists with the same behavior. For the example here, you need to delete the redirect that's being used in the header, or come up with a different method to link a replacement function.<br /><br />In general, it may also be tricky to use techniques like that with third party libraries that have their own build systems. However, modifying your headers that everything is using is one way to ensure the correct behavior will be used.insane coderhttps://www.blogger.com/profile/06901386115570670209noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-90874326266669313042024-01-02T16:36:59.100-08:002024-01-02T16:36:59.100-08:00That glibc_version_header for glibc related versio...That glibc_version_header for glibc related versioning problems is certainly helpful. <br /><br />If something like those versioned headers exist for a problem you encounter, then by all means use them. However, mastering all the techniques here will get you out of most problems, including those that those versioned headers won't.insane coderhttps://www.blogger.com/profile/06901386115570670209noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-24874751048006557462021-12-15T09:13:26.972-08:002021-12-15T09:13:26.972-08:00Truly eye-opening, but instead of deleting code fr...Truly eye-opening, but instead of deleting code from libraries, what do you think of this?<br /><br />https://github.com/wheybags/glibc_version_headerAnonymoushttps://www.blogger.com/profile/06755265758172336843noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-90041012190988293062020-08-09T06:41:18.707-07:002020-08-09T06:41:18.707-07:00In theory, distributing source code seems to be an...In theory, distributing source code seems to be an easy way to get around the problem, assuming your end user 1) has administrative access, 2) can install a compiler 2) knows how to run a configure script, 3) has the technical knowledge <a href="https://blog7.org" rel="nofollow">to</a> interpret the output of a configure script and download the appropriate dependencies, 4) has technical expertise to resolve conflicts in library versions. elpakhttps://www.blogger.com/profile/15191719582610526053noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-19324226796050826412018-10-07T05:29:02.683-07:002018-10-07T05:29:02.683-07:00Statically those that aren't very likely to be...Statically those that aren't very likely to be installed, or those that have important reasons to be statically linked. Dynamically link everything else.insane coderhttps://www.blogger.com/profile/06901386115570670209noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-40554672306935592402018-05-23T12:47:41.422-07:002018-05-23T12:47:41.422-07:00Interesting article, but I have one question about...Interesting article, but I have one question about the guideline "Statically link selected libraries, while dynamically linking others.", namely: how do you decide which libraries to statically link, and which ones to dynamically link? Is there some kind of algorithm for this? What steps to follow in order to decide what to statically link, and what to dynamically link?Bart Vandewoestynehttps://www.blogger.com/profile/15864107848559392386noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-63101734034711419622012-09-13T13:32:59.356-07:002012-09-13T13:32:59.356-07:00What I wrote in my sound articles is still true.
...What I wrote in my sound articles is still true.<br /><br />I'm using the same ALSA to OSS wrap config today.insane coderhttps://www.blogger.com/profile/06901386115570670209noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-78591556120060010762012-08-06T13:19:39.462-07:002012-08-06T13:19:39.462-07:00Sorry to make an o/t comment, but I was wondering ...Sorry to make an o/t comment, but I was wondering if you might be able to remark on the current state of sound in Linux.<br /><br />I'm having issues where the stock installation of Ubuntu 12.04 (via Linux Mint because I HATE Unity) where ALSA/PulseAudio/whatever the hell they're using now won't see my sound card, but installing OSS4 will give me some sound.<br /><br />I'm planning on following your idea to make changes to /etc/asound.conf in order to have ALSA apps use OSS natively, but I wanted to know if this is still accurate. Can you confirm?Unknownhttps://www.blogger.com/profile/11480999687432666114noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-82411182732691286082012-07-22T07:39:58.869-07:002012-07-22T07:39:58.869-07:00Hello Justin Bailey.
Can you explain how to use a...Hello Justin Bailey.<br /><br />Can you explain how to use a mapfile or version script which achieves the objective explained here?insane coderhttps://www.blogger.com/profile/06901386115570670209noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-80321415277949247772012-07-22T05:01:20.774-07:002012-07-22T05:01:20.774-07:00Nice article, but instead of deleting stuff from s...Nice article, but instead of deleting stuff from stdio.h (even it is in your buildsystem only) I recommend using a mapfile (or version-script) which specifes GLIBC_2.3 as highest usable version when linking the program.Anonymoushttps://www.blogger.com/profile/08990930679217733592noreply@blogger.comtag:blogger.com,1999:blog-833174317742362874.post-50679801984975359492012-07-19T11:51:31.827-07:002012-07-19T11:51:31.827-07:00When using ldd, you may also want to consider usin...When using <i>ldd</i>, you may also want to consider using it with <i>-v</i>. That will show you some version information as well, and also give you an idea as to which libs pull in other libs.insane coderhttps://www.blogger.com/profile/06901386115570670209noreply@blogger.com