- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Where is libXmu.sl?
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
04-16-2007 02:12 AM
04-16-2007 02:12 AM
Where is libXmu.sl?
On my system I have /usr/lib/X11R4/libXmu.sl and /usr/lib/libXmu.2 which points to /usr/contrib/X11R6/lib/libXmu.2.
Why is there no /usr/lib/libXmu.sl pointing to /usr/lib/libXmu.2?
Also, when linking I'm specifying "-L/usr/lib -l: libXmu.2" but it's not picking it up. Is this incorrect?
TIA,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 02:20 AM
04-16-2007 02:20 AM
Re: Where is libXmu.sl?
and /usr/lib/X11R4/libXmu.sl is pointing to nothing
that's in our system
hope you find this helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 02:27 AM
04-16-2007 02:27 AM
Re: Where is libXmu.sl?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 04:52 AM
04-16-2007 04:52 AM
Re: Where is libXmu.sl?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 05:16 AM
04-16-2007 05:16 AM
Re: Where is libXmu.sl?
How do you do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 09:11 PM
04-16-2007 09:11 PM
Re: Where is libXmu.sl?
>but I'm still having trouble getting the compiler to pick up libXmu.2.
(This has nothing to do with the compiler, it is the linker.)
You do the obvious, as root, add a symlink. Or
you link with -l:libXmu.2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 06:08 AM
04-17-2007 06:08 AM
Re: Where is libXmu.sl?
Only the developer's kit 'delives' the .sl links that allow you to link to the binary.
In any case, you should not use the X11R4 version for new apps. Use the one in X11R6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 08:40 AM
04-17-2007 08:40 AM
Re: Where is libXmu.sl?
Thanks for the replies.
I guess I should have been more clear:
I'm compiling a package from source that is looking for -lXmu. I don't want it to use libXmu.sl under X11R4; I want it to pick up the lib from under X11R6.
In /usr/lib I only have libXmu.a and libXmu.2. I don't know why there isn't a libXmu.sl linked to libXmu.2 like so many other libs have. Aussan verified this as well. Also, as mentioned above, my /usr/lib/libXmu.2 points to /usr/contrib/X11R6/lib/libXmu.2 (not X11R4).
I have two machines: on one I have root and on the other I don't. On the one that I do I did create the link and everything was fine. But ultimately this (build script) will be delivered to customers who will not be expected to have root and it needs to build without error.
...
Ok, looking at my output more closely I see that the root of the problem is that in my final link I have < -L/usr/lib -l:libXmu.2 > listed before < -lXmu >. The -lXmu screws everything up. Without -lXmu it works.
But why would -lXmu override the -L -l: construct?
(btw, it's no different if -lXmu is before or after. If it's there, it fails.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 11:22 AM
04-17-2007 11:22 AM
Re: Where is libXmu.sl?
It doesn't. That's a completely different lib.
>(it's no different if -lXmu is before or after. If it's there, it fails.)
You need to replace -lXmu with -l:libXmu.2.
Looking back at what you initially said, it seems you used "-l: libXmu.2", other than the space, it should work.