Hi Werner, I think it is not just a problem with Cygwin: quite frequently the only error message from a program that can not run for lack of a DLL is that it immediately returns. I am not sure under what circumstances this happens, but I think the following scenario provides them:
Program A depends on DLL B DLL B can be found in the path, but it depends on DLL C. DLL C can NOT be found Result: Program A can not run, but does not give a message, simply terminates. Regards, Arjen On 2009-03-31 08:26, Werner Smekal wrote: > Hi Alan, > >> What I find disconcerting about Arjen's error report is the lack of >> error >> message (other than no output) when test-drv-info could not find the >> PLplot >> library. If I arrange that case on Linux by temporarily renaming >> the PLplot >> library, test-drv-info generates the following useful error message: >> >> softw...@raven> ./test-drv-info ps >> ./test-drv-info: error while loading shared libraries: libplplotd.so. >> 9: >> cannot open shared object file: No such file or directory >> >> Are we stuck with the bad result that ./test-drv-info silently dies >> (no >> error message other than no output file) for the corresponding >> Cygwin case >> or is it possible you could fix that? > > I remember that we had this problem already in the past, so this is a > known problem (even for us :). I searched the internet thoroughly and > eventually found something: > > http://sourceware.org/ml/cygwin/2009-01/msg00312.html > http://sourceware.org/ml/cygwin/2009-01/msg00320.html > > According to the mailing list entries, this is a bug in cygwin, which > is fixed in the next version (1.7), which is now in beta at the > moment. If you run the test-drv-info executable not in cygwin, but in > the normal Windows CLI a message pops up, which tells one that the dll > is not found. > > So, we are stuck with this bad result and could do nothing about it > (since the program exits before the main routine is entered) and have > to wait for the next cygwin version. > > Regards, > Werner > >> Alan >> __________________________ >> Alan W. Irwin >> >> Astronomical research affiliation with Department of Physics and >> Astronomy, >> University of Victoria (astrowww.phys.uvic.ca). >> >> Programming affiliations with the FreeEOS equation-of-state >> implementation >> for stellar interiors (freeeos.sf.net); PLplot scientific plotting >> software >> package (plplot.org); the libLASi project (unifont.org/lasi); the >> Loads of >> Linux Links project (loll.sf.net); and the Linux Brochure Project >> (lbproject.sf.net). >> __________________________ >> >> Linux-powered Science >> __________________________ >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Plplot-devel mailing list >> Plplot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/plplot-devel > > -- > Dr. Werner Smekal > Institut fuer Allgemeine Physik > Technische Universitaet Wien > Wiedner Hauptstr 8-10 > A-1040 Wien > Austria > > email: sme...@iap.tuwien.ac.at > web: http://www.iap.tuwien.ac.at/~smekal > phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) > fax: +43-(0)1-58801-13499 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Plplot-devel mailing list > Plplot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-devel > Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of TNO and parts of Rijkswaterstaat have joined forces in a new independent institute for delta technology, Deltares. Deltares combines knowledge and experience in the field of water, soil and the subsurface. We provide innovative solutions to make living in deltas, coastal areas and river basins safe, clean and sustainable. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel