- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gzopen libxml2
Operating System - HP-UX
1745925
Members
4344
Online
108723
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
Discussions
Discussions
Forums
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
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
тАО02-20-2009 08:18 AM
тАО02-20-2009 08:18 AM
gzopen libxml2
I have ported software written in C++ from Tru64 to HP-UX 11i v2. I have used the Migration Environment for HP-UX 11i v2 (because this was the only version available)and the Developing_Bundle_11.23. I have runned the software on a server HP-UX 11i v3. When I started the process I received:
/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'gzopen' in load module
'/usr/lib/hpux64/libxml2.so.9'.
Killed
It seems that the libxml2.so doesn't see the gzopen function in /usr/local/include/zlib.h
when it should auto detect it.
The libxml2.so.9 library links to
/opt/iexpress/libxml2/lib/hpux64/libxml2.so.9
The internet express libxml2 has been loaded with:
ixLibxml2_A.11.00-2.7.2.002_HP-UX_B.11.31_IA_PA.depot
Thanks in advance.
/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'gzopen' in load module
'/usr/lib/hpux64/libxml2.so.9'.
Killed
It seems that the libxml2.so doesn't see the gzopen function in /usr/local/include/zlib.h
when it should auto detect it.
The libxml2.so.9 library links to
/opt/iexpress/libxml2/lib/hpux64/libxml2.so.9
The internet express libxml2 has been loaded with:
ixLibxml2_A.11.00-2.7.2.002_HP-UX_B.11.31_IA_PA.depot
Thanks in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 01:09 PM
тАО02-20-2009 01:09 PM
Re: gzopen libxml2
you should have libz.a or libz.so included in the link step. the fact that its defined / typedef'd in the include file doesn't do anything for the linker finding the code.
in your case, the linker is looking for a library that has an entry for "gzopen" and can't find one in the list provided.
the command line used might be interesting.
in your case, the linker is looking for a library that has an entry for "gzopen" and can't find one in the list provided.
the command line used might be interesting.
- Tags:
- zlib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2009 10:52 PM
тАО02-22-2009 10:52 PM
Re: gzopen libxml2
It looks like libxml2.so in Internet Express was linked with libz.a.
% ldd /opt/iexpress/libxml2/lib/hpux64/libxml2.so.8.31
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libm.so.1 => /usr/lib/hpux64/libm.so.1
libc.so.1 => /usr/lib/hpux64/libc.so.1
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
%
% nm /opt/iexpress/libxml2/lib/hpux64/libxml2.so.8.31 | grep gzopen
[2564] | 4611686018431713424| 112|FUNC |GLOB |0| .text|gzopen
%
If your application calls gzopen() to open a gzip file for reading or
writing, you have to prepare for libz.so and link your apps with
libz.so. Lucky to say, the ixZlib (zlib compression library) bundle is
available in our Internet Express.
Shinji
% ldd /opt/iexpress/libxml2/lib/hpux64/libxml2.so.8.31
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libm.so.1 => /usr/lib/hpux64/libm.so.1
libc.so.1 => /usr/lib/hpux64/libc.so.1
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
%
% nm /opt/iexpress/libxml2/lib/hpux64/libxml2.so.8.31 | grep gzopen
[2564] | 4611686018431713424| 112|FUNC |GLOB |0| .text|gzopen
%
If your application calls gzopen() to open a gzip file for reading or
writing, you have to prepare for libz.so and link your apps with
libz.so. Lucky to say, the ixZlib (zlib compression library) bundle is
available in our Internet Express.
Shinji
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP