:: Re: [DNG] Managing shared libraries
Forside
Slet denne besked
Besvar denne besked
Skribent: Joel Roth
Dato:  
Til: dng
Emne: Re: [DNG] Managing shared libraries
Thanks to Tom and Andreas for your suggestions.

On Wed, Oct 04, 2023 at 11:12:18PM +1100, wirelessduck--- via Dng wrote:
>
> > On 4 Oct 2023, at 12:06, Joel Roth via Dng <dng@???> wrote:
> >
> > Dear lovers and familiars of C,
> >
> > I've got a perl application using
> > an interface library for gnu readline.
> >
> > I want to trying compiling the interface library
> > against an older readline.
> >
> > Here are the libraries I have now. The
> > single-digit suffixes are links to the
> > decimal-versioned libraries.
> >
> > /lib/x86_64-linux-gnu/libreadline.so.5
> > /lib/x86_64-linux-gnu/libreadline.so.5.2
> > /lib/x86_64-linux-gnu/libreadline.so.6
> > /lib/x86_64-linux-gnu/libreadline.so.6.3
> > /lib/x86_64-linux-gnu/libreadline.so.8
> > /lib/x86_64-linux-gnu/libreadline.so.8.2
> >
> > A likely way forward is to place the 6.3
> > sources in /usr/include/readline and compile
> > against that.
> >
> > I would also like to compile against 8.1, but can I (and do
> > I need to) point the symlink at 8.1 without breaking things
> > like bash that depend on version 8.2?
> >
> > Thanks all!
> >
> >
> > --
> > Joel Roth
>
> It’s been a while since I touched C coding but I wonder if this page is of any use? Perhaps the soname section is relevant?
>
> https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
>
> Tom


> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng



--
Joel Roth