Why Does XMGrace Fail to Load Libraries in Cygwin?

  • Thread starter Thread starter RockenNS42
  • Start date Start date
  • Tags Tags
    Running
AI Thread Summary
The issue arises when attempting to run the xmgrace tool in Cygwin, resulting in an error related to missing shared libraries. To resolve this, users should execute the command "cygcheck /usr/bin/xmgrace.exe" in the Cygwin terminal. If the output indicates a missing DLL, the appropriate package must be installed or reinstalled via the Cygwin setup. Additionally, users may need to run "rebaseall" to ensure all libraries are correctly linked. This approach addresses common library-related errors encountered when using Grace in a Cygwin environment.
RockenNS42
Messages
52
Reaction score
0
I need it for my physics class, we are running the plotting tool Grace.
I had it running on my computer (with some help)

So I think I may have downloaded everything I need to run grace,
but when I open up the cygwin terminal and type in xmgrace
it says

/usr/bin/xmgrace.exe: error while loading shared libraries: ?: cannot open share d object file: No such file or directory

any idea of what i have to do?
is there something I need to type in first? I think i may remember something like that... not sure
 
Computer science news on Phys.org
I had this problem as well. After some investigation it turned out that I was missing a library. Try running:

cygcheck /usr/bin/xmgrace.exe

and if it says something like:

cygcheck: track_down: could not find <something.dll>

then run the cygwin setup package and install/reinstall the package that DLL belongs to. (It's possible you may also have to rebase everything using "rebaseall" as well.)
 
  • Like
Likes stoomart
Well, the date has now passed, and Windows 10 is no longer supported. Hopefully, the readers of this forum have done one of the many ways this issue can be handled. If not, do a YouTube search and a smorgasbord of solutions will be returned. What I want to mention is that I chose to use a debloated Windows from a debloater. There are many available options, e.g., Chris Titus Utilities (I used a product called Velotic, which also features AI to prevent your computer from overheating etc...
I've been having problems for the past few weeks with the display on my Dell computer. I bought the computer new back in 2019 or so, which makes it about 6 years old. My monitor is a 27" HP monitor that I bought for another computer (an HP Pavilion), recently demised, back in about 2012 or 2013. As far as I can tell, the computer, which is running a 10-core Xeon Scalable processor, is functioning as it should. The first symptom was that the screen would go dark, which I would attempt to...
Back
Top