Bug 49915

GemConnect

2.4, 2.3

RedHat

GemConnect doesn't work with SELinux

Attempts to run GemConnect with SELinux in RedHat security execution mode will fail during the GemConnect library load due to the inability to find the Oracle library libclntsh.so.12.1:


-----------------------------------------------------
GemStone: Error         Nonfatal
a ImproperOperation occurred (error 2171), user action library load failed, 'GciLoadUserActionLibrary failed, dlopen failed, libclntsh.so.12.1: cannot open shared object file: No such file or directory; Filename: /export/smalltalk/gemstone64/unreleased/3.6.4/x86_64.Linux/slow/product/ualib/liboraapi24-643.so' Error Category: 231169 [GemStone] Number: 2171  Arg Count: 2 Context : 20 exception : 37625601
Arg 1: [37625345 size:232 primitiveSize:232 cls: 74753 String] GciLoadUserActionLibrary failed, dlopen failed, libclntsh.so.12.1: cannot open shared object file: No such file or directory; Filename: /export/smalltalk/gemstone64/unreleased/3.6.4/x86_64.Linux/slow/product/ualib/liboraapi24-643.so
Arg 2: [20 size:0 primitiveSize:0 cls: 76289 UndefinedObject] nil

Workaround

Create a symbolic link in the directory /usr/lib (usr/lib64 for some systems) to the Oracle library libclntsh.so.12.1


Last updated: 3/28/22