perl - Why does perl2exe complain about "Unresolved symbol: Perl_Gthr_key_ptr"? -
in perl, error mean?
unresolved symbol: perl_gthr_key_ptr
i getting error while converting perl file binary using perl2exe on hp-ux pa-risc machine.
/usr/lib/dld.sl: unresolved symbol: perl_gthr_key_ptr (code) /tmp/p2xtmp-9979/cwd.sl iot trap (core dumped)
off top of head looks non-threaded perl trying load modules compiled threaded perl.
edit: clarify, can compile perl support threads (threaded perl) or without support threads (non-threaded perl). if module built used threads , loaded perl without support threads produces above error.
to check thread support in perl, search "thread" string in output of perl -v
:
perl -v | grep thread
Comments
Post a Comment