gyptazy

DevOps

Developer

IT Consultant

gyptazy

DevOps

Developer

IT Consultant

Blog Post

HowTo: Fix macOS Sonoma CSSHX perl-posix-tmpnam-unimplemented-darwin Error

HowTo: Fix macOS Sonoma CSSHX perl-posix-tmpnam-unimplemented-darwin Error

In homebrew and macPorts, still an older version is included when it comes to csshx. Unfortunately, this version does not work out of the box anymore with newer macOS installations like macOS 14.5 (Ventura) or macOS 14.6 (Sonoma) and needs some adjustments.

csshX (Cluster SSH for macOS) is a command-line utility designed to facilitate managing multiple SSH sessions simultaneously. It allows users to open and control multiple terminal windows or tabs at once, sending the same command inputs to all of them in parallel. This is particularly useful for system administrators who need to perform tasks across multiple servers or machines simultaneously. csshX is a fork of the original Cluster SSH (cssh) tool and is specifically tailored for macOS environments, integrating well with macOS’s native terminal applications.

Running this tool after the installation might result into the following (and more issues):

Unimplemented: POSIX::tmpnam(): use File::Temp instead at /System/Library/Perl/5.34/darwin-thread-multi-2level/POSIX.pm line 185. 
Unimplemented: POSIX::tmpnam() at /usr/local/bin/csshX line 1130. BEGIN failed--compilation aborted at /opt/homebrew/bin/csshx line 1130.

Therefore, you do not need to adjust anything anymore and can directly use a fixed version of csshx which you can find to download afterwards. This works on AMD64/Intel Macs but also on newer Apple Silicon based ones, that are powered by ARM64 with Apple M1, M2, M3 CPUs.

Downloads:

Taggs: