Operating System - HP-UX
1830498 Members
2256 Online
110006 Solutions
New Discussion

please help on run time library on hp11

 
SOLVED
Go to solution
Tong Hu_1
Occasional Advisor

please help on run time library on hp11

when I try to run file2mq program with SHLBIB_PATH
set to include /opt/mqm/lib, it fails with the following error:

Wed 17:08:25 /usr/lib/dld.sl: Unresolved symbol: __nw__FUl (code) from /opt/mqm/lib/libimqi23ah.sl

Any ideas?

file2mq is used to send tickets from ARTS to easyLINK. It takes
a flat file containing name-value pairs of trade details, and pushes
it onto an MQ queue.

In case it's of use, here's the chatr output for file2mq:

chatr(warning): dl_header_ext.size != sizeof(dl_header_ext). Please update your version of the linker.
/opt/gfs/arts/dev-7.1.1/bin/file2mq:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
dynamic /usr/lib/librwtool.1
dynamic /opt/sybase/lib/libsybdb.sl
dynamic /usr/lib/libimqi23ah.sl
dynamic /usr/lib/libmqic.sl
dynamic /usr/lib/libstd.1
dynamic /usr/lib/libstream.1
dynamic /usr/lib/libCsup.1
dynamic /usr/lib/libM.1
dynamic /usr/lib/libcl.1
dynamic /usr/lib/libc.1
static /usr/lib/libdld.1
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: D (default)
instruction page size: D (default)
2 REPLIES 2
Martin Johnson
Honored Contributor

Re: please help on run time library on hp11

Make sure all your fileset are configured:

swlist -l fileset -a state

All the filesets should say configured. If not, use swconfig to configure the filesets.

HTH
Marty
Mike Stroyan
Honored Contributor
Solution

Re: please help on run time library on hp11

file2mq was built on 10.20 but /opt/mqm/lib/libimqi23ah.sl was built on 11.00. The generic c++ new function changed from taking an int parameter for 10.x to taking a long parameter for 11.00. That is just one of many problems with mixing 10 and 11 built objects in the same process.
You need to find an 11.00 built executable or 10.20 built libraries so all of the parts match.