Quote
fglrun on commande line (ssh) works fine
Same code running from studio with target GDC ok
Same code running from studio with target GBC ko with error
Same code running from studio with target GDC ok
Same code running from studio with target GBC ko with error
my immediate thought is environment, hence this article https://4js.com/ask-reuben/ig-218/
So add the line ...
Code
RUN "env | sort > /tmp/yourname.env"
...as soon as possible after MAIN and compare the output from the 3 scenarios.
There is one thing with this error though, chances are it occurs before the MAIN because of presence of IMPORT security. So use a small test program without that IMPORT security line.
What you will probably see is GSTDIR/lib being included in PATH / LD_LIBRARY_PATH, and some libcrypto / libssl libraries being picked up from there rather than FGLDIR/lib or the system equivalents.
i.e. you are hitting this issue https://4js.com/support/issue/?id=GST-19307
There is a workaround but as they have not publicised it in the Issue Description, contact your support contact on Monday and they should be able to give a workaround.
Reuben