Opened 5 years ago

Closed 5 years ago

#59681 closed defect (worksforme)

irssi @1.2.2_1+perl Error loading module perl/core

Reported by: jesse-brown (Jesse Brown) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
Port: irssi

Description

Irssi scripting is not working because the Perl module cannot be found after upgrading to Catalina and following the migration guide.

Simply typing /load perl in irssi should show that it is loaded and the other loaded modules. Instead, an error is generated:

Irssi: Error loading module perl/core: dlopen(/opt/local/lib/irssi/modules/libperl_core.so, 10): image not found

Attached is the currently installed ports.

Attachments (1)

myports_20191112.txt (10.0 KB) - added by jesse-brown (Jesse Brown) 5 years ago.
Installed ports

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by jesse-brown (Jesse Brown)

Attachment: myports_20191112.txt added

Installed ports

comment:1 Changed 5 years ago by cjones051073 (Chris Jones)

I do not see this issue myself on macOS10.15.

Are you 100% sure you have rebuilt everything for macOS10.15 ?

To be sure please run

sudo port uninstall irssi
sudo port sync
sudo port selfupdate
sudo port -s install irssi

Note I also do not have /opt/local/lib/irssi/modules/libperl_core.so on my system, but my build of irssi does not seem to require it.

Please also make sure you have the latest Xcode installed (11.2) and the corresponding CLT package (just in case).

Finally, are you sure you are running the macports version of irssi and not something else ? What does which irssi give ?

comment:2 Changed 5 years ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Owner: changed from l2dy@… to l2dy

comment:4 Changed 5 years ago by jesse-brown (Jesse Brown)

/opt/local/bin/irssi is from which Irssi

So after uninstalling, reinstalling, and checking all the paths in the environment, I started over from scratch (based on your idea to check the CLT). I checked the last time I ran xcode-select --install and it was after the upgrade and also after reinstalling MacPorts. For giggles, I ran it again. It behaved as if I hadn't run it since the upgrade and installed the CLT! Very odd, but now everything works.

Thanks for entertaining this ticket which is apparently just a head scratcher related to Xcode. I really appreciate your time.

comment:5 Changed 5 years ago by l2dy (Zero King)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.