Operating System - HP-UX
1753852 Members
8514 Online
108808 Solutions
New Discussion юеВ

Compiling on HPUX 11.31 Itanium

 
David Hilker_1
Occasional Contributor

Compiling on HPUX 11.31 Itanium

I am building Apache/PHP with several other libraries that I am also compiling (z,openssl,openldap,etc..). I have done this many times on 11.23 PARISC. It seems that for PA-RISC the libraries generated were .sl. When I build some of the libraries on 11.31 I get .so files. It seems when I move to a library that has a dependency on a previous library I compiled it is always looking for a .sl, not a .so. How do I specify to use the .so, instead of a .sl when building these applications? It does not seem to look for .so, only .sl. Any help is appreciated.

Thanks,

Dave.
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: Compiling on HPUX 11.31 Itanium

>How do I specify to use the .so, instead of a .sl when building these applications?

You need to change your makefiles to use the .so suffix and not .sl.
James R. Ferguson
Acclaimed Contributor

Re: Compiling on HPUX 11.31 Itanium

Hi Dave:

Have a look at the Technical Knowledge Base document, "HP-UX Operating Systems Linker - What Are the Differences Between .so Files and .sl Files on Itanium?:

Document ID: emr_na-c01155724-2

Regards!

...JRF...
David Hilker_1
Occasional Contributor

Re: Compiling on HPUX 11.31 Itanium

I have figured out a solution, which was to specify the exact path to the .so library.

For example:
./configure --prefix=$BAP \
--with-ldap \
--with-ldap-lib=$BLIB/ldap/lib/libldap.so \
--with-ldap-include=$BLIB/ldap/include \
--with-iconv=$BLIB/iconv \
--with-expat=$BLIB/expat \
--with-apr=$BAP

Thanks for everyone's assistance.