HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPWS 2.0.53 with php and gd support
Operating System - HP-UX
1832505
Members
4846
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2005 02:48 AM
07-04-2005 02:48 AM
HPWS 2.0.53 with php and gd support
Hello,
I have a problem with installing libraries on my HP-UX box. The problem is as follows:
I installed hpws 2.0.53 on my HP-UX box and want
to enable php with gd-Support.
In the documentation of hpws 2.0.53 HP advised to install
the following libraries under /usr/local/lib:
Image (gd.sl) :
libjpeg version 6b
libpng version 1.0.11
libxpm version 3.4k
libfreetype version 2.1.2
t1lib version 1.3.1 (should be installed in /usr/local/lib)
So I looked under http://hpux.cs.utah.edu for binary depots, but I only have found higher versions.
I installed these versions:
(hpws 2.0.53 on HP-UX 11.11)
expat-1.95.8-sd-11.22.depot
jpeg-6b-sd-11.00.depot
xpm-3.4k-sd-11.11.depot
freetype-2.1.9-sd-11.11.depot
libiconv-1.9.2-sd-11.22.depot
zlib-1.2.2-sd-11.11.depot
gettext-0.14.1-sd-11.22.depot
libpng-1.2.8-sd-11.11.depot
t1lib-1.3-sd-11.11.depot
-- I am not sure if I take the right depots? --
But installing these higher versions does not work. The apache gave the following error-log:
[Mon Jul 04 14:53:24 2005] [notice] SIGHUP received. Attempting to restart
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd.sl' - Call to mmap() failed - TEXT /opt/hpws/apache/php/lib/php/extensions/gd.sl in Unknown on line 0
[Mon Jul 04 14:53:24 2005] [notice] Apache/2.0.53 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/4.3.8 configured -- resuming normal operations
ldd gave the following output:
ldd -vrds /opt/hpws/apache/php/lib/php/extensions/gd.sl
find library=/usr/lib/libc.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libc.2
trying path=/usr/lib/libc.2 (absolute)
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libdld.2
trying path=/usr/lib/libdld.2 (absolute)
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libc.2
trying path=/usr/lib/libc.2 (absolute)
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libjpeg.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libjpeg.0
trying path=/usr/local/lib/libjpeg.0 (absolute)
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libjpeg.sl
/usr/local/lib/libjpeg.sl => /usr/local/lib/libjpeg.sl
find library=/usr/local/lib/libz.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libz.0
trying path=/usr/local/lib/libz.0 (absolute)
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libz.sl
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
find library=/usr/local/lib/libpng.sl.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.s
l
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libpng.sl.2
trying path=/usr/local/lib/libpng.sl.2 (absolute)
/usr/lib/dld.sl: Can't find path for shared library: libpng.sl.2
/usr/lib/dld.sl: No such file or directory
Kind regards
Marko
I have a problem with installing libraries on my HP-UX box. The problem is as follows:
I installed hpws 2.0.53 on my HP-UX box and want
to enable php with gd-Support.
In the documentation of hpws 2.0.53 HP advised to install
the following libraries under /usr/local/lib:
Image (gd.sl) :
libjpeg version 6b
libpng version 1.0.11
libxpm version 3.4k
libfreetype version 2.1.2
t1lib version 1.3.1 (should be installed in /usr/local/lib)
So I looked under http://hpux.cs.utah.edu for binary depots, but I only have found higher versions.
I installed these versions:
(hpws 2.0.53 on HP-UX 11.11)
expat-1.95.8-sd-11.22.depot
jpeg-6b-sd-11.00.depot
xpm-3.4k-sd-11.11.depot
freetype-2.1.9-sd-11.11.depot
libiconv-1.9.2-sd-11.22.depot
zlib-1.2.2-sd-11.11.depot
gettext-0.14.1-sd-11.22.depot
libpng-1.2.8-sd-11.11.depot
t1lib-1.3-sd-11.11.depot
-- I am not sure if I take the right depots? --
But installing these higher versions does not work. The apache gave the following error-log:
[Mon Jul 04 14:53:24 2005] [notice] SIGHUP received. Attempting to restart
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd.sl' - Call to mmap() failed - TEXT /opt/hpws/apache/php/lib/php/extensions/gd.sl in Unknown on line 0
[Mon Jul 04 14:53:24 2005] [notice] Apache/2.0.53 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/4.3.8 configured -- resuming normal operations
ldd gave the following output:
ldd -vrds /opt/hpws/apache/php/lib/php/extensions/gd.sl
find library=/usr/lib/libc.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libc.2
trying path=/usr/lib/libc.2 (absolute)
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libdld.2
trying path=/usr/lib/libdld.2 (absolute)
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libc.2
trying path=/usr/lib/libc.2 (absolute)
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libjpeg.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libjpeg.0
trying path=/usr/local/lib/libjpeg.0 (absolute)
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libjpeg.sl
/usr/local/lib/libjpeg.sl => /usr/local/lib/libjpeg.sl
find library=/usr/local/lib/libz.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libz.0
trying path=/usr/local/lib/libz.0 (absolute)
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libz.sl
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
find library=/usr/local/lib/libpng.sl.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.s
l
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libpng.sl.2
trying path=/usr/local/lib/libpng.sl.2 (absolute)
/usr/lib/dld.sl: Can't find path for shared library: libpng.sl.2
/usr/lib/dld.sl: No such file or directory
Kind regards
Marko
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 02:54 AM
07-05-2005 02:54 AM
Re: HPWS 2.0.53 with php and gd support
Hello,
today I start another try but it also fails.
What I have done:
I reinstalled all depots in the following version:
zlib-1.2.2-sd-11.11.depot
xpm-3.4k-sd-11.11.depot
expat-1.95.8-sd-11.11.depot
gettext-0.14.1-sd-11.11.depot
ibiconv-1.9.2-sd-11.11.depot
jpeg-6b-sd-11.11.depot
These depots seem to work with gd.sl. After that I compiled the following libraries
from source:
libpng-1.0.11
freetype-2.1.3 <= 2.1.2 kann man nicht mehr herunterladen
T1Lib-1.3
Now ldd finds all needing libraries by name in the file system.
But unfortunately I still have an entry in the apache error_log:
[Tue Jul 05 13:28:33 2005] [notice] SIGHUP received. Attempting to restart
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd
.sl' - Call to mmap() failed - TEXT /opt/hpws/apache/php/lib/php/extensions/gd.sl in Unknown on lin
e 0
[Tue Jul 05 13:28:34 2005] [notice] Apache/2.0.53 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/4
.3.8 configured -- resuming normal operations
ldd gave me the following result:
find library=/usr/lib/libc.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libjpeg.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libjpeg.sl => /usr/local/lib/libjpeg.sl
find library=/usr/local/lib/libz.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
find library=/usr/local/lib/libpng.sl.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.s
l
/usr/local/lib/libpng.sl.2 => /usr/local/lib/libpng.sl.2
find library=/usr/local/lib/libz.sl; required by /usr/local/lib/libpng.sl.2
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
find library=/usr/local/lib/libXpm.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libXpm.sl => /usr/local/lib/libXpm.sl
find library=/usr/local/lib/libfreetype.sl.9; required by /opt/hpws/apache/php/lib/php/extensions
/gd.sl
/usr/local/lib/libfreetype.sl.9 => /usr/local/lib/libfreetype.sl.9
find library=/usr/lib/libc.2; required by /usr/local/lib/libfreetype.sl.9
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libt1.sl.4; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libt1.sl.4 => /usr/local/lib/libt1.sl.4
symbol not found: _end (/usr/lib/libc.2)
symbol not found: _SYSTEM_ID (/usr/lib/libc.2)
symbol not found: _SYSTEM_ID (/usr/lib/libc.2)
symbol not found: floor (/usr/local/lib/libt1.sl.4)
symbol not found: ceil (/usr/local/lib/libt1.sl.4)
symbol not found: floor (/usr/local/lib/libt1.sl.4)
symbol not found: ceil (/usr/local/lib/libt1.sl.4)
symbol not found: empty_string (/opt/hpws/apache/php/lib/php/extensions/gd.sl)
symbol not found: php_sig_png (/opt/hpws/apache/php/lib/php/extensions/gd.sl)
symbol not found: php_stream_stdio_ops (/opt/hpws/apache/php/lib/php/extensions/gd.sl) .............
Thank you for helping
Marko
today I start another try but it also fails.
What I have done:
I reinstalled all depots in the following version:
zlib-1.2.2-sd-11.11.depot
xpm-3.4k-sd-11.11.depot
expat-1.95.8-sd-11.11.depot
gettext-0.14.1-sd-11.11.depot
ibiconv-1.9.2-sd-11.11.depot
jpeg-6b-sd-11.11.depot
These depots seem to work with gd.sl. After that I compiled the following libraries
from source:
libpng-1.0.11
freetype-2.1.3 <= 2.1.2 kann man nicht mehr herunterladen
T1Lib-1.3
Now ldd finds all needing libraries by name in the file system.
But unfortunately I still have an entry in the apache error_log:
[Tue Jul 05 13:28:33 2005] [notice] SIGHUP received. Attempting to restart
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd
.sl' - Call to mmap() failed - TEXT /opt/hpws/apache/php/lib/php/extensions/gd.sl in Unknown on lin
e 0
[Tue Jul 05 13:28:34 2005] [notice] Apache/2.0.53 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/4
.3.8 configured -- resuming normal operations
ldd gave me the following result:
find library=/usr/lib/libc.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libjpeg.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libjpeg.sl => /usr/local/lib/libjpeg.sl
find library=/usr/local/lib/libz.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
find library=/usr/local/lib/libpng.sl.2; required by /opt/hpws/apache/php/lib/php/extensions/gd.s
l
/usr/local/lib/libpng.sl.2 => /usr/local/lib/libpng.sl.2
find library=/usr/local/lib/libz.sl; required by /usr/local/lib/libpng.sl.2
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
find library=/usr/local/lib/libXpm.sl; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libXpm.sl => /usr/local/lib/libXpm.sl
find library=/usr/local/lib/libfreetype.sl.9; required by /opt/hpws/apache/php/lib/php/extensions
/gd.sl
/usr/local/lib/libfreetype.sl.9 => /usr/local/lib/libfreetype.sl.9
find library=/usr/lib/libc.2; required by /usr/local/lib/libfreetype.sl.9
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libt1.sl.4; required by /opt/hpws/apache/php/lib/php/extensions/gd.sl
/usr/local/lib/libt1.sl.4 => /usr/local/lib/libt1.sl.4
symbol not found: _end (/usr/lib/libc.2)
symbol not found: _SYSTEM_ID (/usr/lib/libc.2)
symbol not found: _SYSTEM_ID (/usr/lib/libc.2)
symbol not found: floor (/usr/local/lib/libt1.sl.4)
symbol not found: ceil (/usr/local/lib/libt1.sl.4)
symbol not found: floor (/usr/local/lib/libt1.sl.4)
symbol not found: ceil (/usr/local/lib/libt1.sl.4)
symbol not found: empty_string (/opt/hpws/apache/php/lib/php/extensions/gd.sl)
symbol not found: php_sig_png (/opt/hpws/apache/php/lib/php/extensions/gd.sl)
symbol not found: php_stream_stdio_ops (/opt/hpws/apache/php/lib/php/extensions/gd.sl) .............
Thank you for helping
Marko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 09:38 AM
11-16-2005 09:38 AM
Re: HPWS 2.0.53 with php and gd support
1) Install depot t1lib-1.3-hppa-11.11.depot.
2) install new libpng library from source
I downloaded libpng-1.0.18
and compiled using following steps
a) ./configure LDFLAGS=-L/usr/local/lib
(I had already installed zlib )
make
make install
2) create symbolic links in /usr/local/lib
cd /usr/local/lib
ln -s libt1.sl libt1.sl.4
ln -s libfreetype.sl libfreetype.sl.9
ln -s /usr/local/lib/X11/libXpm.sl libXpm.sl
ln -s libpng.sl.3.0 libpng.sl.2
Stop and Start Apache. Test jpgraph library to see if all test scripts are working
2) install new libpng library from source
I downloaded libpng-1.0.18
and compiled using following steps
a) ./configure LDFLAGS=-L/usr/local/lib
(I had already installed zlib )
make
make install
2) create symbolic links in /usr/local/lib
cd /usr/local/lib
ln -s libt1.sl libt1.sl.4
ln -s libfreetype.sl libfreetype.sl.9
ln -s /usr/local/lib/X11/libXpm.sl libXpm.sl
ln -s libpng.sl.3.0 libpng.sl.2
Stop and Start Apache. Test jpgraph library to see if all test scripts are working
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP