Showing results for 
Search instead for 
Did you mean: 

problem t1lib with HPUXWSATW218 package

New Member

problem t1lib with HPUXWSATW218 package

We need to use gd library with t1lib.

Installed depots:
- web package 2.18 (11.23-64)
- mySQL 5.0.45
- perl 5.8.8

Apache, mySQL, perl is worked OK.
Our server is (uname -a command):
HP-UX kate B.11.23 U ia64 0834457779 unlimited-user license

On the page for web package 2.18
exists info about library and t1lib (only version 1.3.1).
In the table for our platform 11iv2 (64bit IPF)
points to external sources on the site

This sources do not configure on our IA64 platform, see the error:

root@kate /depot/zrk/t1lib-1.3.1>./configure
loading cache ./config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) no
checking for Athena... (cached) libraries /usr/lib/X11R4, headers in default path
checking host system type... configure: error: can not guess host type; you must specify one
root@kate /depot/zrk/t1lib-1.3.1>

root@kate /depot/zrk/t1lib-1.3.1/ac-tools>more config.guess
# Note: order is significant - the case branches are not exclusive.
# Netbsd (nbsd) targets should (where applicable) match one or
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
# switched to ELF, *-*-netbsd* would select the old
# object file format. This provides both forward
# compatibility and a consistent mechanism for selecting the
# object file format.
# Determine the machine/vendor (is the vendor relevant).
case "${UNAME_MACHINE}" in
amiga) machine=m68k-cbm ;;
arm32) machine=arm-unknown ;;
atari*) machine=m68k-atari ;;
sun3*) machine=m68k-sun ;;
mac68k) machine=m68k-apple ;;
macppc) machine=powerpc-apple ;;
hp3[0-9][05]) machine=m68k-hp ;;
ibmrt|romp-ibm) machine=romp-ibm ;;
*) machine=${UNAME_MACHINE}-unknown ;;

You may see in the file config.guess - sources 1.3.1 not for IA64 platform !

I have installed from depot package t1lib 5.1.0 on this configuration.
Results (text from php.log):
24-Jan-2008 17:13:23] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/g' - Unable to find library ''. in Unknown on line 0

I have checked the document HP KB docID MJFKBRC00015829 with the same results too.
I did not find the t1lib 1.3.1 for IA64 platform (depot not exists, sources not compile)


1. on HP web site with product HPUXWSATW218 is mistake? Where is correct sources t1lib for HPUXWSATW218?
2. There is the depot t1lib that worked with package HPUXWSATW218?

best regards,
Ravil Zubairov.
Exalted Contributor

Re: problem t1lib with HPUXWSATW218 package


You have probably run into a bug.

I'd report it to the team at

1. There may not be a correct source for your platform.
2. I can't find anything in depot format.
Might find something here.

Steven E Protter
Owner of ISN Corporation
New Member

Re: problem t1lib with HPUXWSATW218 package


In the site is nothing.

How long to wait an answer from team at

best regards,
Ravil Zubairov.
New Member

Re: problem t1lib with HPUXWSATW218 package

I find the problem. The HPUXWSATW218 for HPIA64 was made with different libraries for 64 and for 32 bits. in this packet require 64 bit version of t1lib. I downloaded the 32 bit version of HPUXWSATW218 for Itanium proc. and installed. works correctly. But another problem appears. PHP extension module requires 32 bit version of oracle client 9.2.0. But I can't find it anywhere. On only exist client 9.2.0 64 bit version. All problems will resolved, if to know, how to make 64 bit version from sources. By default the libraries are made as 32 bit. Who knows, what keys are necessary for doing 64 bit library?
New Member

Re: problem t1lib with HPUXWSATW218 package

I find the exit.
Steps for solving problem for 32 bit version of HPUXWSATW218:
1. Install standart version of Oracle client 9.2.0.
2. Make links
/usr/lib/hpux32/ -> /oracle/client/92x_64/lib32/
/usr/lib/hpux32/ -> /oracle/client/92x_64/lib32/

3. Edit the /bin/envvars
put strokes like this:
export ORA_NLS33=/oracle/client/92x_64/ocommon/nls/admin/data
export ORACLE_HOME=/oracle/MON/920_64
export TNS_ADMIN=/oracle/client/92x_64/network/admin
4. Restart Apache.

It's all steps.