Menu

#1725 cyglua-5.2.dll missing for gnuplot cygwin64

None
closed-invalid
2019-05-03
2015-12-26
Anonymous
No

Dear Prof. Matsuoka

Following the instructions to run the version 5.1 of Gnuplot (gp510-20150831-cygwin-x86_64.zip) for cygwin available at http://www.tatsuromatsuoka.com/gnuplot/Eng/cygbin/ I faced an DLL issue. My system complained about the missing of cyglua-5.2.dll. So to overcome this, I installed the windows version of gnuplot (gp510-20150831-win64-mingw.exe.zip), copy the "C:\Program Files\gnuplot\bin\lua52.dll" and paste it as "cyglua-5.2.dll" in my "C:\cygwin64\bin" directory. After this Gnuplot starts smoothly.

My suggestion is to include this DLL in the available package for download. The refered DLL is attached.

Best regards,

Cleber Spode.

1 Attachments

Discussion

  • Karl Ratzsch

    Karl Ratzsch - 2015-12-26

    There was a post about something similar on the newsgroup in November,
    "Re: Need help -- gnuplot 5.x.x not starting correctly in 64-bit CYGWIN console -- SOLVED"

     
  • Hans-Bernhard Broeker

    No. Blindly copying binaries or DLLs from one environment to another is definitely not the adequate solution to any problem. Even if that appears to work for the moment, it's fundamentally wrong on just about every level.

     
  • Tatsuro MATSUOKA

    You should install lua using cygwin setup command. (category interpriter).

     
  • Ethan Merritt

    Ethan Merritt - 2016-02-09
    • status: open --> pending-invalid
    • Group: -->
    • Priority: -->
     
  • Tatsuro MATSUOKA

    The gnuplot on Cygwin official site uses uses lua-5.1 but default intall lua version in interpeters category is 5.2. Please install lua5.2 by cygwin setup (category "interpeters"). The you will find cyglua-5.2.dll in /bin directory. If you also use cygwin official gnuplot 5.0.0, copy cyglua-5.2.dll to /opt/gp510/bin and reinstall lua5.1.

     
    • Adrian

      Adrian - 2019-05-03

      I tried to install lua-5.1 and it did execute, but then it wouldn't read in any files. It was quite annoying because I didn't realise it till I tried to read in plot data from stdin (plot '-'), which immediately kicked me back to the gnuplot prompt.

      Should a new bug be created, or should this one be reopened?

      This really needs to be corrected. I expected gnuplot to just work, and I wasted hours before realizing that it didin't. Hours that I really don't have time to waste at work.

       

      Last edit: Adrian 2019-05-03
      • Bastian Märkisch

        Caveat: I am not a Cygwin user myself.

        lua-5.2 (not 5.1) is a dependency of the gnuplot binary package provided by Tatsuro Matsuoka. So you should install this prerequesite using the Cygwin package manager. Dependencies are not (and should not) be included in the package.

        Tatsuro provides instructions on his site, which you may find useful: http://tmacchant3.starfree.jp/gnuplot/Eng/cygbin/README_TM.txt

        Tatsuro: static linking to liblua might solve that problem. (It's a small library really)

         
  • Ethan Merritt

    Ethan Merritt - 2016-03-01
    • status: pending-invalid --> closed-invalid
     
  • Tatsuro MATSUOKA

    I write an install instruction in zip and 7zip archives or on the site indicated site as shown Bastian.
    As I wrote in the instruction, you should install gnuplot-5.2.6 for Cygwin by Cygwin setup and almost dependency runtime libraries are installed . In this process lua5.2 (cyglua-5.2.dll
    ) is installed.

    The binary gives development snapshot and also additional features of wxt and qt terminals that has not been implemented on gnuplot on Cygwin official (current version 5.2.6).

    I do want do static link to lua5.2 becuase gnuplot-5.2.6 (Cygwin Official) link against lua5.2 on cygwin and I just only link also against it. Again I say, please read carefully my readme first.

     

    Last edit: Tatsuro MATSUOKA 2019-05-03
  • Tatsuro MATSUOKA

    And my distrubution develpment snapshot is not official to gnuplot project nor Cygwin project.
    So that topic is not suitable to bug tracker. Use gnuplot-beta list.

     

Log in to post a comment.