Hello All, In isolation, this approach may produce the desired results. However, it violates concern separation and could break other applications that have specific library dependencies. This is especially true at the system level. User-Space library linking would be another topic entirely.
For Debian/Ubuntu based systems, a much better approach would be to use the Debian Control File (DCF)--which is designed specifically for this type of problem--to stipulate both the build and runtime dependencies for the application in question. Additionally, building the application locally will fail at some point. It is not a matter of "if", rather, it is "when". Debootstrap is but one tool users can employ to overt problems of this nature. Using Debootstrap, the builder completely removes any locally installed libraries and deploys only those stipulated in the DCF. Nearly all distributed Ubuntu packages are built using a clean build environment targeted against distribution revision coupled to an architecture; e.g. (bionic-xyx-amd64.iso), where"xyz" can take the form of Server, Desktop, and so on. As with most all things Linux, there are many ways to skin the fish. While some methods work, I would be hard-pressed to state manually linking is a preferred option, or one I use most often. 73's Greg, KI7MT -----Original Message----- From: Alan VK2ZIW [mailto:[email protected]] Sent: Thursday, May 10, 2018 11:04 PM To: WSJT software development <[email protected]> Subject: Re: [wsjt-devel] fyi ubuntu 18.04LTS Hi Mike and all, I've often added a symbolic link in the /lib or the /usr/lib directories from a later library to, the one needed. In Ubuntu 18.04 LTS, we have libreadline5 and libreadline7 but not libreadline6. eg. cd /lib; ln -s libreadline.so.7.1 libreadline.so.6 Then refresh the library cache if needed. ldconfig This often fixes a running program's issues but on installation, the Package Manager may require an entry in the package database. Unpack the .deb file with "ar x <file>.deb" then unpack the main archive and install the files manually. Have fun. Alan VK2ZIW On Thu, 10 May 2018 18:58:28 -0400, W2NAP wrote > deb package fails install without it. > > On Thu, 10 May 2018 22:47:53 +0000 (UTC) Black Michael via wsjt-devel > <[email protected]> wrote: > > > And why do we need libreadline6? > > de Mike W9MDB > > > > > > > > On Thursday, May 10, 2018, 12:47:53 PM CDT, W2NAP > > <[email protected]> wrote: > > Not sure if anyone noticed. Libreadline6 is NOT in the 18.04 repos > > at all. unknown if it will ever be. work around seems to be > > installing the libreadline6 package from artful repo > > https://packages.ubuntu.com/artful/libreadline6 > > > > just wanted to say something in case this was overlooked. > > > > de w2nap > > > > -------------------------------------------------------------------- > > ------ ---- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > wsjt-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wsjt-devel > > > > ---------------------------------------------------------------------- > ------ -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > wsjt-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wsjt-devel Alan Evil flourishes when good men do nothing. Consider the Christmas child. --------------------------------------------------------------------------- Alan Beard Unix Support Technician from 1984 to today 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals etc.. +61 2 47353013 (h) Support Programming, shell scripting, "C", assembler 0414 353013 (mobile) After uni, electronics tech ---------------------------------------------------------------------------- -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
