- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PHP + GD
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
05-25-2008 09:29 PM
05-25-2008 09:29 PM
I'm trying to setup GD with hpwsApache (B.2.0.59.00). Apache and PHP are working fine but I get an error when trying to load gd.sl:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd.sl' - '/opt/hpws/apache/php/lib/php/extensions/gd.sl' is not a valid load module: Bad magic number in Unknown on line 0
file gd.sl: PA-RISC2.0 shared library -not stripped
file php: PA-RISC2.0 shared executable dynamically linked -not stripped
Can someone push me in the right direction to resolve this, please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:41 PM
05-25-2008 10:41 PM
Re: PHP + GD
main.c:
int main(int argc, char *argv[]) { return 0;}
gcc main.c -lgd -o main
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:48 PM
05-25-2008 10:48 PM
Re: PHP + GD
ld: Mismatched ABI (not an ELF file) for /opt/hpws/apache/php/lib/php/extensions/gd.sl
Fatal error.
collect2: ld returned 1 exit status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:52 PM
05-25-2008 10:52 PM
Re: PHP + GD
gcc main.c -lgd -o main
Well, you can't use -lgd directly so just use the absolute path:
/opt/hpws/apache/php/lib/php/extensions/gd.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 11:06 PM
05-25-2008 11:06 PM
Re: PHP + GD
I put soft links to the libraries and it compiled.
Now running the php test works without gd.sl errors but I get `undefined function' for gd_info().
Any ideas on that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 11:25 PM
05-25-2008 11:25 PM
Re: PHP + GD
See the solution above.