TIBCO Data Science Team Studio installer is failing with message "LoadError: Could not load FFI Provider".

TIBCO Data Science Team Studio installer is failing with message "LoadError: Could not load FFI Provider".

book

Article ID: KB0072652

calendar_today

Updated On:

Products Versions
Spotfire Data Science Team Studio 6.5, 6.6

Description

The Team Studio installer may fail with the following error message:
----------
LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: java.lang.UnsatisfiedLinkError: /tmp/jffi5014486569094083407.so: /tmp/jffi5014486569094083407.so: failed to map segment from shared object: Operation not permitted 
----------
The above error message indicates the user does not have the execute privileges on /tmp directory.

Environment

Linux.

Resolution

To resolve the above error message, follow below steps:
1. Users can check how they have mounted /tmp directory by using the following command in the Linux terminal:
>mount

2. After running the above command it will show how /tmp directory is mounted. If it shows output like the following:

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec)

3. If it shows output like the above then "noexec" in the above output indicates the user does not have the execute privileges. Users have to remount /tmp with execute privileges.

4.  After remounting /tmp with execute privileges user can run the TIBCO Data Science Team Studio installer file.

Issue/Introduction

TIBCO Data Science Team Studio installer may fail with following error message: LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: java.lang.UnsatisfiedLinkError: /tmp/jffi5014486569094083407.so: /tmp/jffi5014486569094083407.so: failed to map segment from shared object: Operation not permitted