- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't find library: "Xaw" problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 05:06 PM
тАО05-14-2004 05:06 PM
However, I am having a problem building "Id". During the compiling of the software:
making all in ./cxterm...
cc -O -Aa -Dhpux -DSYSV -D_HPUX_SOURCE -DHANZI -c HZpopup.c
cc -O -Aa -Dhpux -DSYSV -D_HPUX_SOURCE -DHANZI -c HZutil.c
if [ -f cxterm ]; then rm -f cxterm~; mv -f cxterm cxterm~; fi
cc -o cxterm -O -Aa main.o input.o charproc.o cursor.o util.o tabs.o screen.o scrollbar.o button.o Tekproc.o misc.o VTPrsTbl.o TekPrsTbl.o data.o menu.o HZInput.o HZinMthd.o HZinArea.o HZchList.o HZinCntx.o HZfilter.o HZbuiltn.o HZtrie.o HZtrieWc.o HZassoc.o HZpopup.o HZutil.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lcurses
I get the error shown below:
/usr/ccs/bin/ld: Can't find library: "Xaw"
I found /usr/contrib/X11R6/include/X11/Xaw/XawInit.h existed. How can I solve the problem out?
Thanks in advance
Alex
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 06:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 02:06 PM
тАО05-16-2004 02:06 PM
Re: Can't find library: "Xaw" problem
I have still no idea to create link, pls give me advise.
Thanks
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 03:37 PM
тАО05-16-2004 03:37 PM
Re: Can't find library: "Xaw" problem
find /usr -name "libXaw*"
in your cc command you'll need to add a -L switch to tell ld where libXaw is, it has to be before the -lXaw switch
-L /usr/... -lXaw
you can read more about it by doing a man on cc or ld
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 04:36 AM
тАО05-17-2004 04:36 AM
Re: Can't find library: "Xaw" problem
You could use "export LDOPTS=-L/usr/contrib/X11R6/lib" before running make.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 05:17 AM
тАО05-17-2004 05:17 AM
Re: Can't find library: "Xaw" problem
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/contrib/X11R6/lib
export LD_LIBRARY_PATH
regards,
Fred
"Reality is just a point of view." (P. K. D.)