[CentOS] How to downgrade gtk2 libs in CentOS 6.8?

Mon Jan 9 16:20:21 UTC 2017
Jon LaBadie <jcu at labadie.us>

On Mon, Jan 09, 2017 at 09:39:08AM -0600, Johnny Hughes wrote:
> On 01/09/2017 07:54 AM, Jonathan Billings wrote:
> > On Jan 9, 2017, at 4:08 AM, Walter Dnes <waltdnes at waltdnes.org> wrote:
> >>  Hi all.  I'm using a CentOS 6.8 VM to do volunteer builds for an open
> >> source project.  I want to build Pale Moon with a gtk2 library older
> >> than 2.24, to allow people with older linuxes to run it.  Short summary,
> >> if built against version gtk2-2.24 and/or higher, the binary will use a
> >> function that does not exist in gtk2-2.23 and lower.  Net result is that
> >> the program dies with an "undefined symbol:" error for people with
> >> machines lower than gtk2-2.24.  Yes, before you ask, they do get
> >> security fixes backported.
> >>
> > 
> This ^^ (use mock).
> You can use mock chroots in sandbox mode to manually get whatever
> install you want, or if all the things you want are in (for example)
> CentOS 6.5, you can point your config files for mock to use 6.5 repo
> from http://vault.centos.org/ and build against that.
The OP noted the target environment has security fixes backported.
Is the same true of a mock environment built from vault.centos.org?
If not, could a binary built under mock introduce old flaws?

Jon H. LaBadie                 jon at jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)