Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to run Octave under Windows and to run graphics plotting routine under it. It requires Cygwin and X/Cygwin.

When I trying to run any plotting routine, the following error appears:

/usr/bin/gnuplot.exe: error while loading shared libraries: cyggd-2.dll: cannot open shared object file: No such file or directory

share|improve this question
    
How did you install gnuplot? Did you use Cygwin's setup.exe? –  Stephen Kitt Feb 18 at 13:27
    
it is windows related question not unix and linux. –  Dārayavahuš tdi Feb 18 at 13:39
    
@StephenKitt yes I used Cygwin's setup. Is there any other way? –  Dims Feb 18 at 13:43
    
You could have installed it manually somehow, I just wanted to check. But Dārayavahuš tdi is correct, this is off-topic for Unix.SE. I'm guessing you're somehow missing a dependency, libgd2 in this instance. –  Stephen Kitt Feb 18 at 13:48
1  
Is libgd2 installed? Do you have a /usr/bin/cyggd-2.dll file? –  Stephen Kitt Feb 18 at 14:00

1 Answer 1

up vote 1 down vote accepted

You need to install the libgd2 package to provide the missing cyggd-2.dll.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.