Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

OCS Agent for Mac OS 15.0 Sequoia

I am looking for an Agent that will work with Mac OS 15.0 Sequoia.  This does work if doing the upgrade from a previous version of mac os.  But not if a new OS install or new computer that comes in with Mac OS 15.0 Sequoia

More info discovered after clicking on the file ocsinventory-agent

zsh: /Applications/OCSNG.app/Contents/Resources/ocsinventory-agent: bad interpreter: /usr/bin/perl5.30: no such file or directory

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
in OCS Inventory NG agent for MacOS X by (170 points)
edited by

5 Answers

0 votes
Hi,

Create a symbolic link => /usr/bin/perl5.30 -> /usr/bin/perl5.34

Regards
by (90.4k points)
+1 vote

Is there a better way than creating a symbolic link in /usr/bin?
Because this is not allowed in /usr/bin due to system integrity protection.


With it enabled I get.
/usr/bin/perl5.30: Operation not permitted.

by (160 points)
0 votes
I have the same issue and am unable to modify it.
But are we doing this for testing to confirm that it works afterward?  So it can be preconfigured and pointed to the correct location ahead of time.  So, not everyone needs to modify this to install on multiple macs, or do we need to modify this for each installation?
by (170 points)
0 votes

The Sequoia comes with Perl 5.34 pre-installed in the /usr/bin directory, which cannot be modified on macOS. I tested installing Perl 5.30 manually using Perlbrew and modified the first line of the ocsinventory-agent to point to this installation. However, macOS returned other errors that seem to be architecture incompatibilities. The ocsinventory-agent file contains a line resembling /lib/darwin-multi-thread, which has two slashes ("//"). I changed it to one slash, but it still didn't work. I believe version 2.10.2 of OCS is incompatible with Sequoia due to different Perl versions and their modules.

by (140 points)
0 votes
There is a new MacOS agent for Sequoia since 21 Oct 2024

Unix Agent 2.10.3 (Mac version)

https://github.com/OCSInventory-NG/UnixAgent/releases

Kind regards
by (24.4k points)
 
Powered by Question2Answer
...