Replies: 1 comment 2 replies
-
Hi! Thanks for trying out Sidef. There seems to be an issue with the
Or by reinstalling/rebuilding Perl. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi;
I was successfully using Perl (downloaded from MacPorts, and also built from source) and then started using Sidef (found this via Rosetta Code).
Then something happened, I'm not sure what, I've lost the sequence of events, but I lost my Sidef installation (I had installed it via GitHub clone as described in the sidef-tutorial.pdf and sidef-book.pdf). Now when I try to install and run again I get the following error(s):
Can't load '/opt/perl/lib/5.38.2/darwin-2level/auto/Cwd/Cwd.bundle' for module Cwd: dlopen(/opt/perl/lib/5.38.2/darwin-2level/auto/Cwd/Cwd.bundle, 0x0001): symbol not found in flat namespace '_PL_curpad' at /opt/perl/lib/5.38.2/XSLoader.pm line 97.
at /opt/perl/lib/5.38.2/darwin-2level/Cwd.pm line 82.
Compilation failed in require at /opt/perl/lib/5.38.2/darwin-2level/File/Spec/Unix.pm line 4.
BEGIN failed--compilation aborted at /opt/perl/lib/5.38.2/darwin-2level/File/Spec/Unix.pm line 4.
Compilation failed in require at /opt/perl/lib/5.38.2/darwin-2level/File/Spec.pm line 21.
Compilation failed in require at ./sidef.pl line 8.
BEGIN failed--compilation aborted at ./sidef.pl line 21.
I tried installed the Sidef module via cpanm, seems to be fine (in both Perl 5.38.x from MacPorts and Perl 5.40.x that I had built myself), but I really only know how to use Sidef (so far) by running the examples from Rosetta Code.
So I have the following bash script:
#!/bin/bash
wget https://github.com/trizen/sidef/archive/master.zip
unzip master.zip
cd sidef-master/bin/
./sidef -v
The bottom portion of the output of the aforementioned script:
inflating: sidef-master/utils/test_parser.pl
Can't load '/opt/perl/lib/5.38.2/darwin-2level/auto/Cwd/Cwd.bundle' for module Cwd: dlopen(/opt/perl/lib/5.38.2/darwin-2level/auto/Cwd/Cwd.bundle, 0x0001): symbol not found in flat namespace '_PL_curpad' at /opt/perl/lib/5.38.2/XSLoader.pm line 97.
at /opt/perl/lib/5.38.2/darwin-2level/Cwd.pm line 82.
Compilation failed in require at /opt/perl/lib/5.38.2/darwin-2level/File/Spec/Unix.pm line 4.
BEGIN failed--compilation aborted at /opt/perl/lib/5.38.2/darwin-2level/File/Spec/Unix.pm line 4.
Compilation failed in require at /opt/perl/lib/5.38.2/darwin-2level/File/Spec.pm line 21.
Compilation failed in require at ./sidef line 8.
BEGIN failed--compilation aborted at ./sidef line 21.
I have perl located at:
/opt/local/bin/perl
/opt/perl/bin/perl
/opt/perl5_40/bin/perl
What information have I not provided that will assist you in debugging my problem?
Thanks,
Ken Wolcott
Beta Was this translation helpful? Give feedback.
All reactions