Ashish Karpe Ashish Karpe - 1 year ago 82
Linux Question

/usr/bin/ld: cannot find -lXext Dependencies issue

I am installing

on my Ubuntu 14.04 server. I am getting error for make command due to dependencies :

/usr/bin/ld: cannot find -lXext collect2: error: ld returned 1 exit status make: *** [bin/gs] Error 1

But I have libraries:


  • /usr/lib/x86_64-linux-gnu/

  • /usr/lib/x86_64-linux-gnu/

Are these sufficient or I need some more libraries?

Answer Source

Run: apt-get install libxext-dev
It worked for me.

I tried to install Ghostscript 9.18 Source version

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download