Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Keeping 17-year-old Kylix software alive
Date: Sun, 09 Jun 2019 08:59:07
Message-Id: 1645796.o1oFV4X0K1@dell_xps
In Reply to: Re: [gentoo-user] Keeping 17-year-old Kylix software alive by Mick
1 On Sunday, 9 June 2019 09:21:17 BST Mick wrote:
2 > Hi Matt,
3 >
4 > On Sunday, 9 June 2019 08:49:21 BST Matthias Hanft wrote:
5 > > Hi,
6 > >
7 > > many years ago, I created some libSomething.so with Kylix 3 (1)
8 > > which still worked with current (32bit) Gentoo systems (Kernel
9 > > 4.14.83).
10 > >
11 > > Using "revdep-rebuild.sh" (the *old* script!), for some time,
12 > > I already got messages like
13 > >
14 > > broken /usr/local/lib/libxercesxmldom.so.1
15 > > /usr/local/lib/libxercesxmldom.so.1 (symbol __pthread_atfork version
16 > > GLIBC_2.0 not defined in file libpthread.so.0 with link time reference
17 > > symbol __pthread_initialize version GLIBC_2.0 not defined in file
18 > > libpthread.so.0 with link time reference)
19 > >
20 > > but everything worked fine anyway ("libxercesxmldom" is part of
21 > > Borland's standard runtime libraries).
22 >
23 > Did you try the new revdep-rebuild in case it works (better)?
24 >
25 > > However, after upgrading glibc from 2.27 to 2.28 (or newer), this
26 > > is not true any more: Compiling and running a C program using the
27 > > old Kylix libSomething.so libraries causes Segmentation fault, and
28 > > Apache using a PHP extension which calls those libraries won't start
29 > > at all any more.
30 > >
31 > > For recompiling the Kylix libSomething.so libraries, I'm keeping
32 > > alive a Suse 8.1 Linux (2) in VirtualBox (Kernel 2.4.19).
33 > >
34 > > Do you see any chance to keep those Kylix libraries alive and
35 > > running? If it would help, I'd try to install the old Kylix on
36 > > a current Gentoo system and try to recompile there (although
37 > > I guess Kylix won't run on a current Kernel any more - if it
38 > > can be installed at all).
39 > >
40 > > Switching to another (Pascal-/Delphi-/Lazarus-/etc.) Compiler
41 > > is not an option because the .so libraries are in fact "packages"
42 > > (BPL, a special Borland library version).
43 > >
44 > > Is there any possibility for some "binary interface/gateway" to
45 > > use those libraries any more, or do I have to reprogram the
46 > > whole functionality with PHP?
47 > >
48 > > -Matt
49 > >
50 > > (1) https://en.wikipedia.org/wiki/Borland_Kylix
51 > > (2) https://en.wikipedia.org/wiki/SUSE_Linux#SUSE_distributions
52 >
53 > I am not familiar with the particular software and wouldn't know how to keep
54 > it alive on a present day Gentoo system - other than building Gentoo using
55 > an old snapshot and installation media, perhaps in a VM and using
56 > additional packages of the same era from the attic in a local overlay.
57 >
58 > Someone else may be able to offer useful advice, but I would think this is
59 > more of a question suitable for the gentoo-dev mailing list[1] and IRC
60 > channel[2]. Have you tried asking there?
61 >
62 > [1] https://www.gentoo.org/get-involved/mailing-lists
63 > [2] https://www.gentoo.org/get-involved/irc-channels/all-channels.html
64
65 Hmm ... reading about borland kylix in the link you provided and this article
66 I'm wondering if the two are related:
67
68 https://www.gentoo.org/support/news-items/2017-04-10-split-and-slotted-wine.html
69
70 --
71 Regards,
72 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature