- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- aCC dynamic shared lib binding
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-05-2002 06:32 PM
04-05-2002 06:32 PM
I have
aCC -o a.out -L. -lmysl xxx.o
when I run a.out from a different directory, it complains that ./libmysl.sl not found, even though libmysl.sl is in my SHLIB_PATH.
I want to put libmysl.sl anywhere and have the SHLIB_PATH include the path. It seems the program (a.out) only looks for the .sl in ./ (current dir).
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2002 11:15 PM
04-07-2002 11:15 PM
Re: aCC dynamic shared lib binding
Hi,
To use the SHLIB_PATH environment-variable
your shared lib must be linked with the
+s option.
I have tested this and it works ok.
Se man-page for ld for a description of
the +s option.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2002 11:18 PM
04-07-2002 11:18 PM
Re: aCC dynamic shared lib binding
This is just FYI
Look at
http://atwnt961.external.hp.com/dspp/tech/tech_TechHomePage_IDX/1,1702,,00.html
For a vast amount of useful info.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 12:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 10:59 AM
04-08-2002 10:59 AM
Re: aCC dynamic shared lib binding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:13 AM
04-08-2002 11:13 AM
Re: aCC dynamic shared lib binding
Hi,
Yes you can use chatr +s enable
on a shared lib. You will see that
you can toggle enabled/disabled on
the line for SHLIB_PATH by using
chatr +s enable library
and
chatr +s disable library
Olav