Installation Error: failed to map segment from shared object: Operation not permitted

OS Name/Version: CentOS 7 w/CPanel

Product Name/Version: (Always use the full version number - not ‘Latest’) GetAMP v3.0.1

Problem Description:

I am trying to install but I keep getting the following error:

Error loading shared library: /tmp/mono-bundle-lLXhSE/libsqlite3 /tmp/mono-bundle-lLXhSE/libsqlite3: failed to map segment from shared object: Operation not permitted

I get two of these errors every time I try to install, each with a different directory name, but all directories follow the pattern /tmp/mono-bundle-######

Each install attempt creates two new directories that follow that pattern.

Mono is not installed on my machine:

[root@mymachine]# mono -version
-bash: mono: command not found

Steps to reproduce:

  • bash <(wget -qO- getamp.sh)
  • Also happens with ampinstmgr -version

Actions taken to resolve so far:

  • Removed the sticky tag on the /tmp directory

Trash any mono files/directories in /tmp/

I did that. The installation process just creates more.

Is /tmp/ mounted as noexec?

It’s not mounted. It’s on the main filesystem.

That may be why. It doesn’t have permission to execute stuff it needs to from /tmp/ - is your configuration non standard in some way?

Edit: Also I see you’re on CentOS 7 - you should upgrade soon because support for it is being dropped later this year. End-of-support announcements for Linux and Windows versions

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.