Re: latexmk can't find loadable object for IO (after update?)

Mikhail Titov <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
> -----Original Message-----
> From: Mikhail Titov <[email protected]>
> Sent: Sunday, November 25, 2012  8:18 PM
> Subject: latexmk can't find loadable object for IO (after update?)

> Hello!
>
> latexmk used to work just fine until recently. I'm not positive whether
> it happened after update or something else got in the way.
>
> Here is what I'm getting when I try to execute latexmk.
>
> ,----[ Perl bundled with MikTeX fails to use IO(); ]
> | C:\Program Files\MiKTeX 2.9\miktex\bin>latexmk.exe
> | Can't locate loadable object for module IO in @INC (@INC contains:
> | C:/Program Files/MiKTeX 2.9/miktex/lib .) at C:/Program Files/MiKTeX
> | 2.9/miktex/lib/IO/Handle.pm line 266
> | Compilation failed in require at C:/Program Files/MiKTeX 2.9/miktex/lib/IO/Handle.pm line 266.
> | BEGIN failed--compilation aborted at C:/Program Files/MiKTeX 2.9/miktex/lib/IO/Handle.pm line 266.
> | Compilation failed in require at C:/Program Files/MiKTeX 2.9/miktex/lib/IO/Seekable.pm line 101.
> | BEGIN failed--compilation aborted at C:/Program Files/MiKTeX 2.9/miktex/lib/IO/Seekable.pm line 101.
> | Compilation failed in require at C:/Program Files/MiKTeX 2.9/miktex/lib/IO/File.pm line 133.
> | BEGIN failed--compilation aborted at C:/Program Files/MiKTeX 2.9/miktex/lib/IO/File.pm line 133.
> | Compilation failed in require at C:/Program Files/MiKTeX 2.9/miktex/lib/FileHandle.pm line 9.
> | Compilation failed in require at C:\Program Files\MiKTeX 2.9\scripts\latexmk\perl\latexmk.pl line 120.
> | BEGIN failed--compilation aborted at C:\Program Files\MiKTeX 2.9\scripts\latexmk\perl\latexmk.pl line 120.
> `----
>
> Is it an easy fix?

I ended up renaming bundled perl.exe in <MikTeX root>/miktex/bin/ into perl.exe_unused . Luckily latexmk.exe
ended up using next perl I have (standalone strawberry).

-- 
Mikhail

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.