Title: Strange situation with 5.01.02 Post by: Benjamin G. on May 02, 2025, 04:16:27 pm Hello
On last version : fglrun 5.01.02 rev-763f056 Genero virtual machine Target l64xl228 This code : IMPORT security MAIN DEFINE s STRING = "dGVzdHRlc3Q=" LET s = security.Base64.ToString(s) display s END MAIN 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 FORMS statement error number -6221. C extension initialization failed with status -1. Any idea ? Thanks Title: Re: Strange situation with 5.01.02 Post by: Leo S. on May 02, 2025, 04:40:04 pm Hi Benjamin, check if LANG is set to something like "fr" and unset it if it's the case.
Regards , Leo Title: Re: Strange situation with 5.01.02 Post by: Benjamin G. on May 02, 2025, 06:54:40 pm Hi,
I've UNSET LANG but still same situation ... On commande line with or without LANG we don't have this error Regards Title: Re: Strange situation with 5.01.02 Post by: Reuben B. on May 03, 2025, 01:02:06 am Whenever someone says something like
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 my immediate thought is environment, hence this article https://4js.com/ask-reuben/ig-218/ So add the line ... Code
...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 Title: Re: Strange situation with 5.01.02 Post by: Benjamin G. on May 03, 2025, 06:50:22 pm Hi Reuben,
moving libcrypto and libssl out of /opt/fourjs/gst/lib solve the situation Thanks |