[acs] EPICS 3.15.6 on RHEL9
Gary Croke
gcroke at jlab.org
Wed May 24 17:59:23 EDT 2023
Hi All,
When I got iocsoftinj3 running 3.15.6 on RHEL9 (opsbat9), it entered a continual reboot cycle. This seems to be related to the system database 7.1. Sue has reported having the same problem. The ioc runs fine without system. As a test I also built 7.0 against 3.15 on RHEL9, and the ioc runs fine with this version. Does anyone know what causes this?
I also attempted to use epics 3.15.9 as Brian suggested. I had to build a bunch of stuff. The outcome is the same, fine with system 7.0, crashes with 7.1
Gary
________________________________
From: acs <acs-bounces at jlab.org> on behalf of Gary Croke via acs <acs at jlab.org>
Sent: Tuesday, May 23, 2023 1:55 PM
To: Brian Bevins <bevins at jlab.org>; acs at jlab.org <acs at jlab.org>
Subject: Re: [acs] EPICS 3.15.6 on RHEL9
Thanks Brian,
I had been building on my local machine, which is 9.1. I rebuilt, relinked and restarted, and now it's booting, but immediately crashing, which is progress I guess! Maybe I just hadn't run makelynx or something. I'll try 3.15.9. Thanks again.
________________________________
From: Brian Bevins <bevins at jlab.org>
Sent: Tuesday, May 23, 2023 1:44 PM
To: acs at jlab.org <acs at jlab.org>; Gary Croke <gcroke at jlab.org>; Brian Bevins <bevins at jlab.org>
Subject: Re: EPICS 3.15.6 on RHEL9
It looks like the 64bit version didn't get installed:
[81] bevins at opsbat9 > ll O.rhel-9-x86_64/iocsoftinj3Apps
-rwxrwxr-x. 1 gcroke epics 9835008 May 23 13:41 O.rhel-9-x86_64/iocsoftinj3Apps*
[82] bevins at opsbat9 > ll /cs/op/iocs/iocsoftinj3/iocsoftinj3AppsO/iocsoftinj3Apps
-r-xr-xr-x. 1 gcroke epics 2778748 Mar 28 11:13 /cs/op/iocs/iocsoftinj3/iocsoftinj3AppsO/iocsoftinj3Apps*
--Brian
________________________________
From: acs <acs-bounces at jlab.org> on behalf of Brian Bevins via acs <acs at jlab.org>
Sent: Tuesday, May 23, 2023 1:37 PM
To: acs at jlab.org <acs at jlab.org>; Gary Croke <gcroke at jlab.org>
Subject: Re: [acs] EPICS 3.15.6 on RHEL9
Gary,
Where are you doing the build? /usr/lib64/libstdc++.so.6 is a standard system library and should be in place on all rhel9 machines. It's definitely there on opsbat9.
[70] bevins at opsbat9 > pwd
/a/devsite/csite7/it/llapp_R3.14/iocsoftinj3Apps/1-3/iocCode/src
[71] bevins at opsbat9 > ldd O.rhel-9-x86_64/iocsoftinj3Apps
linux-vdso.so.1 (0x00007ffd0b0ce000)
libreadline.so.8 => /lib64/libreadline.so.8 (0x00007fcafe85e000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fcafe637000)
libm.so.6 => /lib64/libm.so.6 (0x00007fcafe55c000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fcafe541000)
libc.so.6 => /lib64/libc.so.6 (0x00007fcafe336000)
libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fcafe307000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcafe8d4000)
BTW, R3.15.6 would not fully build on rhel9. There's probably enough there to build your soft ioc app, but if you run into missing EPICS libraries you might need to upgrade to R3.15.9, which shouldn't be a big change.
--Brian
________________________________
From: acs <acs-bounces at jlab.org> on behalf of Gary Croke via acs <acs at jlab.org>
Sent: Tuesday, May 23, 2023 1:26 PM
To: acs at jlab.org <acs at jlab.org>
Subject: [acs] EPICS 3.15.6 on RHEL9
Hi Folks,
Trying to port iocsoftinj3 to opsbat9, get the following:
./iocsoftinj3AppsO/iocsoftinj3Apps: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Is this just a case of copying files? Seems we don't have an operational soft ioc with this combo of 3.15.6 and RHEL9 yet.
Thanks,
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/acs/attachments/20230524/c9a86b84/attachment-0001.html>
More information about the acs
mailing list