- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: shared objects on hpux 11i
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
Forums
Discussions
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
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
01-24-2006 05:30 PM
01-24-2006 05:30 PM
what are the different kinds of shared objects (dynamic linked library) on hpux ?
How these objects are being created ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 05:35 PM
01-24-2006 05:35 PM
Re: shared objects on hpux 11i
You mean, what are the available types ?
In PA, it is always with *.sl
PA-RISC1.1 shared library
PA-RISC2.0 shared library
ELF-64 shared object file - PA-RISC 2.0 (LP64)
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 05:37 PM
01-24-2006 05:37 PM
Re: shared objects on hpux 11i
file
or chatr
To create shared library use compiler cc or gcc.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 05:38 PM
01-24-2006 05:38 PM
Re: shared objects on hpux 11i
These are based on the CPU architecture version. For ex.
PA-RISC1.1 shared library
PA-RISC2.0 shared library
ELF-64 shared object file -PA-RISC2.0(LP64)
One will never require to create these. These are part of OS and are installed alongwith installation/patching.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 05:41 PM
01-24-2006 05:41 PM
Re: shared objects on hpux 11i
In IPF or IA-64, it is with .so extension, and shared libs are in /usr/lib/hpux32 and /usr/lib/hpux64 respectively,
ELF-32 shared object file - IA64
ELF-64 shared object file - IA64
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 05:50 PM
01-24-2006 05:50 PM
SolutionTo answer "How these objects are being created ?"
"ld" Link editor is used.
$ cc -Aa -c +z test.c test1.c
$ ld -b -o libtest.sl test.o test1.o
You can refer this doc for more information,
http://docs.hp.com/en/B2355-90655/ch05s07.html
[HP-UX Linker and Libraries User's Guide > Chapter 5. Creating and Using Libraries Creating Shared Libraries ]
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 06:04 PM
01-24-2006 06:04 PM
Re: shared objects on hpux 11i
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 06:05 PM
01-24-2006 06:05 PM
Re: shared objects on hpux 11i
sample one:
http://docs.hp.com/en/B2355-90655/ch05s01.html
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 06:07 PM
01-24-2006 06:07 PM
Re: shared objects on hpux 11i
This should be useful as well,
http://docs.hp.com/en/B2355-90654/ch04s03.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 07:06 PM
01-24-2006 07:06 PM
Re: shared objects on hpux 11i
http://users.actcom.co.il/~choo/lupg/tutorials/libraries/unix-c-libraries.html
[Building And Using Static And Shared "C" Libraries]
http://www.tacc.utexas.edu/services/userguides/intel8/fc/f_ug1/ug1l_create_shared_libs.htm
-Arun