- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need Help with gd.sl (-> libt1.sl.4)
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-05-2005 10:47 PM
07-05-2005 10:47 PM
Need Help with gd.sl (-> libt1.sl.4)
I know the installation of gd-lib has been issued in previous postings, but none of these could help me...
in Apache log I get the following:
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd.sl' - Unable to find library 'libt1.sl.4'. in Unknown on line 0
I installed the t1lib depot from hpux
and tried to link the missing libt1.sl.4 to libt1x.so (also tried with libt1.so) -> after that
I still get the same error message...
I also tried compiling t1lib manually but again, without success.
(I wonder why the depots are installing *.so libs (file t1lib.so says btw ELF-32 Object) instead of *.sl ELF-64 Libs...We use a Itanium 2 64-bit HPUX)
I'd really appreciate any help,
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:08 PM
07-06-2005 09:08 PM
Re: Need Help with gd.sl (-> libt1.sl.4)
Right now I'm trying to manually compile php-4.3.11 (that would build a new gd - link)
...but I'm still struggling with unresolved symbols of libphp.sl...)
Anyway, I'd be really thankful if there is a shorter way of fixing the missing link to t1lib.sl.4, which stops apache2 from loading the gd.slm, instead of rebuilding php.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 10:09 PM
07-06-2005 10:09 PM
Re: Need Help with gd.sl (-> libt1.sl.4)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 12:01 AM
07-07-2005 12:01 AM
Re: Need Help with gd.sl (-> libt1.sl.4)
root, brweb:/opt/hpws/apache/php/lib/php/extensions >> chatr gd.sl
gd.sl:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/local/lib
internal name:
gd.sl
shared library list:
libt1.sl.4
libfreetype.sl.9
libXpm.sl
libpng.sl.2
libz.sl
libjpeg.sl
libc.so.1
shared vtable support disabled
explicit unloading enabled
segments:
index type address flags size
6 text 4000000000000000 z---c- D (default)
7 data 6000000000000000 ---m-- D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr references disabled
address space model: default
caliper dynamic instrumentation disabled
____
seems like gd.sl looks in /usr/local/lib,
so I made the Link:
____
root, brweb:/usr/local/lib >> ln -s /usr/local/lib/hpux32/libt1.so /usr/local/lib/libt1.sl.4
___
but I still get the same message:
___
root, brweb:/opt/hpws/apache/php/lib/php/extensions >> ldd -s -v gd.sl
find library=libt1.sl.4; required by ./gd.sl
search path=/usr/local/lib (RUNPATH)
trying path=/usr/local/lib/libt1.sl.4
search path=/usr/local/lib (RPATH)
trying path=/usr/local/lib/libt1.sl.4
search path=/usr/lib/hpux64 (default)
trying path=/usr/lib/hpux64/libt1.sl.4
Unable to find library 'libt1.sl.4'.
___
by the way, both env-vars for dynamic libs are not set:
___
root, brweb:/opt/hpws/apache/php/lib/php/extensions >> echo $LD_LIBRARY_PATH
ksh: LD_LIBRARY_PATH: parameter not set
root, brweb:/opt/hpws/apache/php/lib/php/extensions >> echo $SHLIB_PATH
ksh: SHLIB_PATH: parameter not set
___
But I don't think that's the problem (as ldd prints where to look for the lib)
thanks for your answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 11:37 AM
07-07-2005 11:37 AM
Re: Need Help with gd.sl (-> libt1.sl.4)
Maybe you can try recompiling libt1 as a 64-bit library. Compiler options are +DD64 for HP's cc and -mlp64 for gcc, so take your pick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2005 10:51 PM
07-10-2005 10:51 PM
Re: Need Help with gd.sl (-> libt1.sl.4)
I compiled all dependencies to ELF-64 except libXpm.sl ... which is a really nasty one...
I was not able to compile the src - pkg from
http://hpux.asknet.de/hppd/hpux/X11/Graphics/xpm-3.4k/
Xpm is a part of the X11 dist (which I should have installed, at least I have /usr/bin/X11/ - dir) -- but I can't find any xpm libs....
Again, the official depot for Itanium2 only installs a ELF-32 version.... which I can't use....
Is there a way to exclude the libXpm.sl from the gd.sl?
I don't think I'm going to need it in gd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 09:58 AM
07-11-2005 09:58 AM
Re: Need Help with gd.sl (-> libt1.sl.4)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 06:21 PM
07-11-2005 06:21 PM
Re: Need Help with gd.sl (-> libt1.sl.4)
...just had to symlink to X11 - Headers (that produced the errors)
Still have to compile libpng...and that's the next trouble (but I'm getting closer ;-)
# ./configure
stops with:
checking for zlibVersion in -lz... no
configure: error: ZLib not installed
seems like the linker can't find libz.so.
...but I have it installed in /usr/local/lib!
I even set the env-var LD_LIBRARY_PATH to /usr/local/lib.
For zlib I tried the 32-bit DEPOT-Version, manually compiled 32-bit and 64-bit Version... nothing works....argh!
thanks for helping me...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 09:18 AM
07-12-2005 09:18 AM
Re: Need Help with gd.sl (-> libt1.sl.4)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 12:57 AM
07-14-2005 12:57 AM
Re: Need Help with gd.sl (-> libt1.sl.4)
Alle lib-dependencies were satisfied, but I got serious version conflicts (that particular gd.sl needs png version 1.10.1, but I compiled, 1.2)
So I decided to kick that whole bundled php-dist, and recompile php with built in gd-library.
Before that I compiled all the libs with -mlp64.
To successfully compile and install you need to include -lgcc in your php build, and configure --without-pear (because installer creates segmentation fault).
I also had to mod the included libtool here and there...
But finally everything works so far...
Now I have HPUXWS-B211-1123 with php-4.4.0, gd-enabled.
If anybody needs more detailed info how I have done that, just mail to heinrich.fink@gmail.com
That was quite a struggling, but I wasn't used to all that deep compiler, linking stuff...
cheers,
Heinrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 09:36 AM
11-16-2005 09:36 AM
Re: Need Help with gd.sl (-> libt1.sl.4)
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