Ken Takata wrote:
> I tried to use +perl/dyn on Cygwin and Linux, but it seems that
> Vim is statically linked to the perl library.
>
> On Cygwin (with Perl 5.14):
> $ ./configure --with-feature=huge --enable-perlinterp=dynamic
> $ make
> $ ./vim
> /cygdrive/c/(snip)/vim/src/vim.exe: error while loading shared libraries:
> cygperl5_14.dll: cannot open shared object file: No such file or directory
> (if cygperl5_14.dll is not available)
>
> On Linux (Ubuntu 12.04 with Perl 5.14):
> $ ./configure --with-feature=huge --enable-perlinterp=dynamic
> $ make
> $ objdump -p ./vim | grep perl
> NEEDED libperl.so.5.14
>
> The cause is that the symbol PL_thr_key is linked statically.
>
> Attached patch fixes this problem when used with Perl 5.14+.
> I'm not sure about the older versions of Perl. (5.12, 5.10, ...)
Thanks. I verified it fixes it for my system. I also noticed a bunch
of unused variables, I'll make a separate patch for that.
--
ARTHUR: Ni!
BEDEVERE: Nu!
ARTHUR: No. Ni! More like this. "Ni"!
BEDEVERE: Ni, ni, ni!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php