dynamic-linker and readline across ubuntu versions

Colin Watson cjwatson at ubuntu.com
Sun Sep 13 00:26:48 UTC 2020


On Sat, Sep 12, 2020 at 04:00:45PM +0000, Mike Marchywka wrote:
> I'm making a bit of a bastard application using email for data exchange and hope to deploy
> on a laptop acting as a server. I'm developing on 16.04 and trying to deploy on 18.04
> ( Beaver is on the lap top). Rather than copy around a bunch of shared objects, I tried to 
> do as much static linking as possible and I finally got an executable that runs on
> both machines but I had to copy over readline.so as it absolutely required 6 although
> 5 and 7 were in the 18.04 repo.

You're going to have a really hard time with this sort of thing in
general.  Have you considered building the application in an 18.04
chroot or container, which should be entirely possible even if the host
system is running 16.04?  It's going to be much easier to get that sort
of thing working reliably than to cobble together the sort of thing
you're trying.

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list