1753898 Members
7551 Online
108809 Solutions
New Discussion юеВ

PHP with GD module

 
Jorge Canto
Occasional Advisor

PHP with GD module

Hello, i really need help, i've been trying to activate the GD module in PHP but i receive the next error in the apache error_log:

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd.sl' - Unable to find library 'libt1.sl'. in Unknown on line 0

i am using HP-UX Apache-based Web Server v.2.19 (last version today).

My system HP-UX B.11.31 U ia64 2199866160 unlimited-user license

Any suggestion?
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: PHP with GD module

Shalom,

Check that the file its asking for is there.

Check the startup script if the file is there that its directory is in the SHLIB_PATH variable. If not, modify the variable.

I'd be surprised if this stuff is left out.

If the library file is missing you may need to back up to a previous release of the LAMP package/depot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jorge Canto
Occasional Advisor

Re: PHP with GD module

The file doesn't exist, i just found it in a depot but for RISC system, not for Itanium, so it doesn't help =(

James R. Ferguson
Acclaimed Contributor

Re: PHP with GD module

Hi:

Perhaps this will help you (see the tables regarding PHP):

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW219

Regards!

...JRF...
Jorge Canto
Occasional Advisor

Re: PHP with GD module

Thank you James, but that is precisely the package i have already installed, even i did a downgrade (218) but i still receive the same error.
Steven E. Protter
Exalted Contributor

Re: PHP with GD module

Shalom,

Report the problem to an HP response center whether or not you have a support contract.

That library needs to be there.

Perhaps the library is provided by another depot, but this stuff is supposed to be self contained.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jorge Canto
Occasional Advisor

Re: PHP with GD module

Steven.

No, that library is not there.

The library is provided by a depot but not for an Itanium system, every library in an Itanium system is a .so and not .sl library, i had downloaded a lot of depots for itanium, i have even a libt1.so file (from libtools depot for Itanium), but it is not helping either.

As you said, this stuff is supposed to be self contained, but it is not the case =(, i have more than two weeks working on it and i don't have more ideas of what to do.

No, we don't have a Software Support Contract, we bought the server with HP-UX preinstalled thinking that was the best choice, the thousands of dollars we paid for the server aren't sufficient to ask them for help.

Thanks in advance for any suggestion.
Dennis Handly
Acclaimed Contributor

Re: PHP with GD module

>every library in an Itanium system is a .so and not .sl library, I had downloaded a lot of depots for itanium, I have even a libt1.so file (from libtools depot for Itanium), but it is not helping either.

You could create a symlink from libt1.sl to your libt1.so? Perhaps it was just named wrong, then fixed not realizing that GD still needed the wrong name?