I have a fresh installation of ActivePerl 5.22.1 and Tk 804.033 on OS X ElCapitan. Running a simple Tk testing code I get the following error:
Can't load '/Users/xxx/Library/ActivePerl-5.22/lib/auto/Tk/Tk.bundle' +for module Tk: dlopen(/Users/xxx/Library/ActivePerl-5.22/lib/auto/Tk/ +Tk.bundle, 1): Library not loaded: /opt/X11/lib/libX11.6.dylib Referenced from: /Users/xxx/Library/ActivePerl-5.22/lib/auto/Tk/Tk.b +undle Reason: image not found at /usr/local/ActivePerl-5.22/lib/DynaLoader +.pm line 198. at halloworld.pl line 4. Compilation failed in require at halloworld.pl line 4.
PATH is set correctly. I already tried to reinstall Tk with ppm. The module Tk.bundle seems to be in place. Line 4 of the script is use Tk . I am very new to OS X. I used for years Tk on Windows/Linux and now I am trying to run it on Mac with no success. Any help? The Activestate Forum did not answered
In reply to OS X ElCaptain Activeperl Tk by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |