1833863 Members
1886 Online
110063 Solutions
New Discussion

Apache 2.0 on HP-UX 11.X

 
SOLVED
Go to solution
Karthik Dathathri
Occasional Contributor

Apache 2.0 on HP-UX 11.X

Hello All,
I downloaded Apache 2.0 binaries for HP-UX and when I tried to start the server,I got the following error:
./apachectl start
/usr/lib/dld.sl: Can't open shared library:
/home/jwoolley/httpd-2.0.40/bindist/lib/libapr.sl.0
/usr/lib/dld.sl: No such file or directory
./apachectl[67]: 18365 Abort(coredump)

As a workaround, I created a link from
/home/jwoolley -> .
Then,
./apachectl start
/usr/lib/dld.sl: Bad system id for shared library:/home/jwoolley/httpd-2.0.40/bindist/lib/libexpat.sl.1
/usr/lib/dld.sl: Exec format error
./apachectl[67]: 18449 Abort(coredump)

Does anyone else also faced a similar problem?May someone help me out?I checked Apache newsgroups,but no information reg.the same.
Thanks for your time.

Regards,
Karthik
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Apache 2.0 on HP-UX 11.X


Did you download and install from:

http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache2-2.0.35/


live free or die
harry
Live Free or Die
U.SivaKumar_2
Honored Contributor

Re: Apache 2.0 on HP-UX 11.X

Hi,
Find under which directory libapr.sl.0 reside.

Edit /etc/SHLIB_PATH file and add that directory there.

Try again.

regards,
U.SivaKumar
Innovations are made when conventions are broken
benoit Bruckert
Honored Contributor
Solution

Re: Apache 2.0 on HP-UX 11.X

Hi,
It's not an answer, but I can say that Apache 2 works on HP-UX, because I built my own server from sources...
As I can see from the error messages, the trouble is with dld .
the "Bad system id for shared" message is linked with the PA-RISC level. Did you check this (I.E. the level you can run on your server is probably PARISC 1.1, and the library you want to use was compiled for PA-RISC 2.0) ?
hope that help
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
Karthik Dathathri
Occasional Contributor

Re: Apache 2.0 on HP-UX 11.X

Hi,
Thanks for all your replies.May I know how I can check whether the apache library was compiled for PA RISC 2.0?
Any commands?chatr -with option?

Thanks
Karthik
Karthik Dathathri
Occasional Contributor

Re: Apache 2.0 on HP-UX 11.X

Hello Bemoit,
Thanks for pointing me to the problem.I think the binary I downloaded is compiled on PA RISC 2.0.
When I checked the 'libexpat.sl' file using 'file' command,below was the output
libexpat.sl: PA-RISC2.0 shared library -not stripped

So I may need to download Apache binaries
compiled on a PA RISC 1.1 machine or install Apache on PA RISC 2.0 m/c.
One of my friend told that binaries built
on PA RISC 1.1 can run well in PA RISC 2.0 but the reverse is not true.
Anyway thanks for everyone who have posted
your replies.
All the Best.

Regards,
Karthik