Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-11-2012, 01:31 PM   #1
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Rep: Reputation: 16
I got "/usr/bin/ld: cannot find -lXaw" error!!

Hi there,

I am trying to install a code on my Ubuntu 10.04. First I configured the code by typing:

hassan@ubuntu:~/xgremlin-4.4$ ./Configure

Then I typed (as recommended):

hassan@ubuntu:~/xgremlin-4.4$ make linux-i386

But after compiling several lines I got the following error:

/usr/bin/ld: cannot find -lXaw
collect2: ld returned 1 exit status

I uploaded the code on the following ftp address in case anyone wants to reproduce the error:

I appreciate any help on this.

With best regards,

Last edited by msbstar; 10-11-2012 at 01:32 PM.
Old 10-11-2012, 01:58 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
Did you do a web search for the message before you posted.

The same question has been asked and resolved here at LQ among other places:
1 members found this post helpful.
Old 10-11-2012, 02:10 PM   #3
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Original Poster
Rep: Reputation: 16
Yes I googled it first before posting.
Thanks any way.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "/usr/bin/ld: cannot find -lXaw" ------- What is this for? msbstar Linux - Newbie 5 01-30-2011 01:37 PM
Error When performing Make: "/usr/bin/ld: cannot find -lpanel" paulmwiu Linux - General 6 08-28-2009 12:28 PM
script using "/usr/bin/cat error" produces "cannot open" in cron Dcrusoe Programming 6 07-22-2009 03:30 PM
make issue "/usr/bin/ld: cannot find -ldc1394_control" obaidmushtaq Linux - Software 10 03-21-2009 05:14 AM
gmake error [2] "/usr/bin/ld cannot find -lmpi_f77 slothrop Linux - Software 1 08-01-2007 12:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration