configure: error: Unable to successfully link xyz library (-lXaw) with test program

Solution Verified - Updated -

Issue

  • Unable to find header files for xyz library.
  • Configure ends with following error.
configure: error: Unable to successfully link Athena library (-lXaw) with test program
checking for usable X Toolkit package... (cached) yes
checking for X11/Xaw/SimpleMenu.h... no
checking for X11/Xaw/SimpleMenu.h in /usr/contrib/X11R6... no
checking for X11/Xaw/SimpleMenu.h in /usr/contrib/X11R5... no
checking for X11/Xaw/SimpleMenu.h in /usr/lib/X11R5... no
checking for X11/Xaw/SimpleMenu.h in /usr/local... no
configure: WARNING: Unable to successfully find Athena header files with test program
checking for XawSimpleMenuAddGlobalActions in -lXaw -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw -lXpm -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw_s -lXmu_s... no
checking for XawSimpleMenuAddGlobalActions in -lXaw7 -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw7 -lXpm -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw7_s -lXmu_s... no
checking for XawSimpleMenuAddGlobalActions in -lXaw6 -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw6 -lXpm -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw6_s -lXmu_s... no
checking for -lXaw -lXmu in /usr/contrib/X11R6... no
checking for -lXaw -lXpm -lXmu in /usr/contrib/X11R6... no
checking for -lXaw_s -lXmu_s in /usr/contrib/X11R6... no
checking for -lXaw7 -lXmu in /usr/contrib/X11R6... no
checking for -lXaw7 -lXpm -lXmu in /usr/contrib/X11R6... no
checking for -lXaw7_s -lXmu_s in /usr/contrib/X11R6... no
checking for -lXaw6 -lXmu in /usr/contrib/X11R6... no
checking for -lXaw6 -lXpm -lXmu in /usr/contrib/X11R6... no
checking for -lXaw6_s -lXmu_s in /usr/contrib/X11R6... no
checking for -lXaw -lXmu in /usr/contrib/X11R5... no
checking for -lXaw -lXpm -lXmu in /usr/contrib/X11R5... no
checking for -lXaw_s -lXmu_s in /usr/contrib/X11R5... no
checking for -lXaw7 -lXmu in /usr/contrib/X11R5... no
checking for -lXaw7 -lXpm -lXmu in /usr/contrib/X11R5... no
checking for -lXaw7_s -lXmu_s in /usr/contrib/X11R5... no
checking for -lXaw6 -lXmu in /usr/contrib/X11R5... no
checking for -lXaw6 -lXpm -lXmu in /usr/contrib/X11R5... no
checking for -lXaw6_s -lXmu_s in /usr/contrib/X11R5... no
checking for -lXaw -lXmu in /usr/lib/X11R5... no
checking for -lXaw -lXpm -lXmu in /usr/lib/X11R5... no
checking for -lXaw_s -lXmu_s in /usr/lib/X11R5... no
checking for -lXaw7 -lXmu in /usr/lib/X11R5... no
checking for -lXaw7 -lXpm -lXmu in /usr/lib/X11R5... no
checking for -lXaw7_s -lXmu_s in /usr/lib/X11R5... no
checking for -lXaw6 -lXmu in /usr/lib/X11R5... no
checking for -lXaw6 -lXpm -lXmu in /usr/lib/X11R5... no
checking for -lXaw6_s -lXmu_s in /usr/lib/X11R5... no
checking for -lXaw -lXmu in /usr/local... no
checking for -lXaw -lXpm -lXmu in /usr/local... no
checking for -lXaw_s -lXmu_s in /usr/local... no
checking for -lXaw7 -lXmu in /usr/local... no
checking for -lXaw7 -lXpm -lXmu in /usr/local... no
checking for -lXaw7_s -lXmu_s in /usr/local... no
checking for -lXaw6 -lXmu in /usr/local... no
checking for -lXaw6 -lXpm -lXmu in /usr/local... no
checking for -lXaw6_s -lXmu_s in /usr/local... no
configure: error: Unable to successfully link Athena library (-lXaw) with test program

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content