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:21:26
Message-Id: 6505629.Clmq5DsWTc@dell_xps
In Reply to: [gentoo-user] Keeping 17-year-old Kylix software alive by Matthias Hanft
1 Hi Matt,
2
3 On Sunday, 9 June 2019 08:49:21 BST Matthias Hanft wrote:
4 > Hi,
5 >
6 > many years ago, I created some libSomething.so with Kylix 3 (1)
7 > which still worked with current (32bit) Gentoo systems (Kernel
8 > 4.14.83).
9 >
10 > Using "revdep-rebuild.sh" (the *old* script!), for some time,
11 > I already got messages like
12 >
13 > broken /usr/local/lib/libxercesxmldom.so.1
14 > /usr/local/lib/libxercesxmldom.so.1 (symbol __pthread_atfork version
15 > GLIBC_2.0 not defined in file libpthread.so.0 with link time reference
16 > symbol __pthread_initialize version GLIBC_2.0 not defined in file
17 > libpthread.so.0 with link time reference)
18 >
19 > but everything worked fine anyway ("libxercesxmldom" is part of
20 > Borland's standard runtime libraries).
21
22 Did you try the new revdep-rebuild in case it works (better)?
23
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 an
55 old snapshot and installation media, perhaps in a VM and using additional
56 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 --
66 Regards,
67 Mick

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Keeping 17-year-old Kylix software alive Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Keeping 17-year-old Kylix software alive Matthias Hanft <mh@×××××.de>