Why Does XMGrace Fail to Load Libraries in Cygwin?

  • Thread starter Thread starter RockenNS42
  • Start date Start date
  • Tags Tags
    Running
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 6K views
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
 
Physics 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   Reactions: stoomart