Operating System - HP-UX
1826219 Members
3278 Online
109691 Solutions
New Discussion

Re: Naming shared library files

 
SOLVED
Go to solution
Bharat Katkar
Honored Contributor

Naming shared library files

Hi Collegues,
Whether shared library files in HPUX named with .so or .sl extension?
Is there any differences in naming them on IA and PA architectures?

Does Hp has any specific norms regarding this.

Thanks a lot in advance.
Regards,
Bharat
You need to know a lot to actually know how little you know
4 REPLIES 4
Muthukumar_5
Honored Contributor

Re: Naming shared library files

On PA, .so format is being used. Intel architecture it is as .sl format. ( I hope )

See this archieve,
http://lists.gnu.org/archive/html/libtool/2003-10/msg00007.html

http://web.gat.com/comp/analysis/mdsplus/textfilebusy.html

Multi platform usage,
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

There is some differences on discussion and multi platform comparsion :-)
Easy to suggest when don't know about the problem!
ranganath ramachandra
Esteemed Contributor
Solution

Re: Naming shared library files

shared libraries are named with the '.sl' extension on PA and with the '.so' on IA. the linkers and dynamic loaders PA and IA will only search for files with the respective extensions.

you may also want to read the hpux linker and libraries users guide:
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,659,00.html
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

R. Sri Ram Kishore_1
Respected Contributor

Re: Naming shared library files

Hi Bharat,

.sl ---> PA
.so ---> IA

Take a look at this kewl page:
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

HTH.
Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
Bharat Katkar
Honored Contributor

Re: Naming shared library files

Thanks SRI,Ranganath and Muthu.
It was helpfull.
Regards,
Bharat
You need to know a lot to actually know how little you know