2008년 11월 6일 목요일

How to install zlib on HP UX (HP UNIX)

step1. DownLoading zlib1.2.3 depot
get from here
step2. install zlib use swinstall (recommended default target path)
setp3. copy libzlib.so to /usr/local/lib on your system.

if you installed other path (like /opt/python) you had to set environment variable called LD_LIBRARY_PATH

Python install Problem on HP UX (HP UNIX)

install version:
* hp ux b.11.31
* python 2.5.2 type of depot
get depot here

problem
When excute python command an bin directory of installed Python.
return error message -> Unable to find library 'libpython2.5.so'

resolv way
set environment variable
LD_LIBRARY_PATH=[libpython2.5.so location path]