- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compile error
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
Forums
Discussions
Discussions
Discussions
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
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
06-24-2003 11:59 AM
06-24-2003 11:59 AM
Compile error
/usr/bin/ld: Can't find library Xpm
The file /usr/lib/libXpm.sl does exist, but it was copied from another HP system.
In the Makefile, if I replace "-lXpm" with "/usr/lib/libXpm.sl", the program will build, but this is not an acceptable fix for the problem.
I downloaded and swinstall'ed the file http://hpux.cs.utah.edu/hppd/hpux/X11/Graphics/xpm-3.4k/ , but this didn't solve the problem.
The HP Forum problem: http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x5cd268da2286d711abdc0090277a778c,00.html
subject: Compile error
May 19, 2003 16:04 PM GMT
gave a glimmer of hope (thanks, Regs David), but the error is still there.
I believe that Xpm should have been installed as part of a larger install process, but does anyone know where Xpm should come from? Maybe from Motif???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 11:20 PM
06-24-2003 11:20 PM
Re: Compile error
Hello,
Seems like libxpm is a set of functions for
storing/retreiving color bitmaps (X Pixmaps)
It does not come with the standard hp-ux distribution of X11/Motif.
You say that you have a version of libXpm but
that it does not fix the problem.
It could be that the libXpm you have is for
a different version of HP-UX.
I advise you to seach on google to find
source or a correct binary version for the
version of hp-ux and X11 you are using.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 05:09 AM
06-25-2003 05:09 AM
Re: Compile error
Is your LPATH environment variable set before you build the program?
Can you provide verbose (-v) output showing the linker step?
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 06:09 AM
06-25-2003 06:09 AM
Re: Compile error
Olav ...
I have searched google for Xpm, but perhaps I need to look more deeply at what I find ...
Steve ...
I substituted "/usr/lib/libXpm.sl" for "-lXpm". Since /usr/lib is the default path, it should have been found, but I set LD_LIBRARY_PATH and LPATH to point to /usr/lib and a UIM/X library, anyway. I still get the error "/usr/bin/ld: Can't find library Xpm". I understand that after a search for the library under LD_LIBRARY, LPATH, and any "-L" options, the default will be searched. I will set LD_LIBRARY and LPATH to point to /usr/lib only, and see what happens.
Thanks, I appreciate your replies ...
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 06:23 AM
06-25-2003 06:23 AM
Re: Compile error
My 2 pence.
If you are building 32 bit executable, then you need to set SHLIB_PATH. For 64 bit, LD_LIBRARY_PATH will do.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 06:31 AM
06-25-2003 06:31 AM
Re: Compile error
Perhaps there is a problem with the version of the library in /usr/lib as Olav suggested? Try running chatr or nm on the file and see if any errors are reported.
Also, the hpux.cs.utah.edu version will install under /usr/local/lib/X11, so did you try adding -L/usr/local/lib/X11 to the linker flags in the Makefile?
Cheers,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 04:06 AM
07-15-2003 04:06 AM