Old version of filePro
Walter Vaughan Jr
wvaughan at steelerubber.com
Mon Dec 20 16:25:14 PST 2021
Upvoted.
-----Original Message-----
From: Filepro-list <filepro-list-bounces+wvaughan=steelerubber.com at lists.celestial.com> On Behalf Of Brian K. White via Filepro-list
Sent: Monday, December 20, 2021 4:44 AM
To: filepro-list at lists.celestial.com
Subject: Re: Old version of filePro
I don't even bother trying to find a proper package any more. Just get compat-libtermcap-2.0.8-49.el6.i686.rpm from any Centos 6.10 repo, Doesn't matter if your current distro uses rpm packages, and just use the file from that regardless what the current system is.
For reference, I just did this on an ubuntu 20.10 system:
# First, see we have a broken rclerk (see the not found message):
bkw at fw:~/Documents/centos_termcap_32$ ldd /opt/fp/fp/rclerk
linux-gate.so.1 (0xf7ef5000)
libtermcap.so.2 => not found
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7dc4000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7bc7000)
/lib/ld-linux.so.2 (0xf7ef7000)
bkw at fw:~/Documents/centos_termcap_32$
# Download a centos 6.10 i686 rpm containing the file we need:
bkw at fw:~/Documents/centos_termcap_32$ wget https://mirror.chpc.utah.edu/pub/vault.centos.org/6.10/os/i386/Packages/compat-libtermcap-2.0.8-49.el6.i686.rpm
--2021-12-20 04:00:26--
https://mirror.chpc.utah.edu/pub/vault.centos.org/6.10/os/i386/Packages/compat-libtermcap-2.0.8-49.el6.i686.rpm
Resolving mirror.chpc.utah.edu (mirror.chpc.utah.edu)... 204.99.128.20,
2001:1948:417:5::20
Connecting to mirror.chpc.utah.edu
(mirror.chpc.utah.edu)|204.99.128.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15840 (15K) [application/x-rpm]
Saving to: ‘compat-libtermcap-2.0.8-49.el6.i686.rpm’
compat-libtermcap-2.0.8-49.el6.i686.rpm
100%[=====================================================================================================>]
15.47K --.-KB/s in 0.08s
2021-12-20 04:00:26 (202 KB/s) -
‘compat-libtermcap-2.0.8-49.el6.i686.rpm’ saved [15840/15840]
# Extract the contents of the rpm as though it were a tar, using a handy
command called "unar"
bkw at fw:~/Documents/centos_termcap_32$ unar
compat-libtermcap-2.0.8-49.el6.i686.rpm
compat-libtermcap-2.0.8-49.el6.i686.rpm: XZ in RPM
compat-libtermcap.cpio... OK.
Successfully extracted to "compat-libtermcap.cpio".
# Use "unar" again to extract the .cpipo
bkw at fw:~/Documents/centos_termcap_32$ unar compat-libtermcap.cpio
compat-libtermcap.cpio: Cpio
./lib/libtermcap.so.2 (link)... OK.
./lib/libtermcap.so.2.0.8 (12308 B)... OK.
Successfully extracted to "./lib".
# Now copy and rename libtermcap.so.2.0.8 to libtermcap.so.2 into some
lib dir, in my case /usr/lib32 but yours could be different, you can see
where all the lib dirs are in the *.conf files in /etc/ld.so.conf.d
bkw at fw:~/Documents/centos_termcap_32$ sudo cp -v lib/libtermcap.so.2.0.8
/usr/lib32/libtermcap.so.2
[sudo] password for bkw:
'lib/libtermcap.so.2.0.8' -> '/usr/lib32/libtermcap.so.2'
# Now run "ldconfig"
bkw at fw:~/Documents/centos_termcap_32$ sudo ldconfig
# Now we have a working rclerk
bkw at fw:~/Documents/centos_termcap_32$ ldd /opt/fp/fp/rclerk
linux-gate.so.1 (0xf7f47000)
libtermcap.so.2 => /lib32/libtermcap.so.2 (0xf7f17000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7e12000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7c15000)
/lib/ld-linux.so.2 (0xf7f49000)
bkw at fw:~/Documents/centos_termcap_32$
Annoying but at least you can do it any time on any system.
If it wasn't for cron jobs or web apps that may sometimes want to run
clerk or report without starting from "p" or an environment
start-script, I wouldn't even bother integrating the library in the
system like this. I'd just stick it right in the fp directory and put
"export LD_LIBRARY_PATH=${PFPROG}/fp" into the start script, or into p
right before the runmenu. Then the library is just part of the filepro
install and goes wherever it goes from now on.
--
bkw
On 12/18/21 6:07 PM, Fairlight via Filepro-list wrote:
> You need compat-libtermcap installed, but the version from CentOS 7
> (read: RHEL 7 and derivatives) was broken, and needed a rebuild for i686
> 32-bit to work with filePro.
>
> No telling what's in Fedora now. Use Rocky 8 if you want sanity. It
> will have the same libtermcap issue, I believe, but the el7 build works
> on el8. You just have to build it properly for i686 from SRPM, after
> modifying the SRPM.
>
> m->
>
>
> On Fri, Dec 17, 2021 at 02:03:29PM -0600, calvin covington via Filepro-list thus spoke:
>> Hello all,
>>
>>
>> I have been an observer of this list for about 20 years now and I have
>> learned a lot from it. I haven't asked many questions, so I'm a 'newbie'
>> as far as communicating with you all.
>>
>> I have been supporting a wholesale/retail company that has been running
>> filePro 5.0 since the early 2000's on Fedora 8 Werewolf server... very
>> few problems so far.
>>
>> They have stayed on this version / with this server much longer than I
>> would have thought. The owner of the company hints toward updating the
>> applications and hardware off and on
>> and has, like I said, stuck with this appication all this time.
>>
>> So... even though the server has no shown any signs of wearing
>> out...I'm afraid it will croak sooner than later !
>>
>> I have a backup server -- newer than the primary one that is running Cent)S
>> 5.11 that is ready to take over if the primary server fails.... but it's
>> not much newer than the primary!
>>
>> Going to a newer version of filePro has been discussed and always ends up
>> dead ended ...
>>
>> My question to the group is:
>>
>> I have a 'test' server set up running Fedora 35...
>>
>> I have the original run-time and development installation CD's and copies
>> of the installation files saved here and there as well.
>>
>> When I try to install, it never 'finishes' .... I remember you supposed
>> to install one before the other, so I've tried insalling run time first
>> and develpment second and ths vice-a-versa... I'm sure there are things
>> to do that I've forgotten.
>>
>> Can someone point me to 'old' installaton requirements / procedures,
>> etc., that may help me get this old version of filePro working on the new
>> server.
>>
>> Kinda sweatin' a possible disaster !
>>
>> Thanks you in advance
>>
>>
>> Calvin Covington
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20211217/0fc70cb4/attachment.html>
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list