Linux VBA : access external so library tested with windows version

with reference to previous discussion

do you know if recent versions of LibreOffice Ubuntu (linux) have the capability to call external so libraries ?
I wish to move VBA for Windows to Ubuntu / Linux, the original (Windows) VBA code includes

Private Declare Function LoadLibrary Lib “kernel32” alias “LoadLibraryA” (ByVal lpLibName As String) As Long
Global LibLoad As Long

Sub MyTest()

if LibLoad = 0 then
LoadLibrary(“mylib.dll”)
LibLoad = 1
endif

End Sub

Do you know an equivalent method working in Ubuntu / Linux to load mylib.so ?

Thank you very much for help.

What exactly does mylib.so do?

There is none. Basic’s DLL manager is only implemented on Windows currently. There is tdf#147377 which would allow to support it on any platform.