Solaris client installaiton problem

Started by Marcin, November 20, 2014, 04:36:53 PM

Previous topic - Next topic

Marcin

Hello,

It seems that new version has different dependencies. I did an upgrade from (working) version 1.2.16 to 1.2.17 and I noticed following problem:
[root] /opt/netxms/bin $ ./nxagentd -D 9
ld.so.1: nxagentd: fatal: libxnet.so.1: version 'SUNW_1.3.1' not found (required by file /opt/netxms/lib/libnetxms.so.1)
ld.so.1: nxagentd: fatal: libxnet.so.1: open failed: No such file or directory
Killed

I noticed following changes:
RADnxagent.1.2.16.sparc.pkg:
[root] /opt/netxms/bin $  pvs /opt/netxms/lib/libnetxms.so.1
        libdl.so.1 (SUNW_0.7);
        libsocket.so.1 (SUNW_0.7);
        libxnet.so.1 (SUNW_1.1);
        libpthread.so.1 (SUNW_1.4);
        libc.so.1 (SUNW_1.22, SUNWprivate_1.1);
        libCstd.so.1 (SUNW_1.1.1);
        libCrun.so.1 (SUNW_1.2);

RADnxagent.1.2.17.sparc.pkg:
[root@] /opt/netxms/bin $ pvs /opt/netxms/lib/libnetxms.so.1
        libm.so.2 (SUNW_1.1);
        libresolv.so.2 (SUNW_2.2.2);
        libdl.so.1 (SUNW_0.7);
        libsocket.so.1 (SUNW_0.7);
        libxnet.so.1 (SUNW_1.3.1);
        libpthread.so.1 (SUNW_1.4);
        libc.so.1 (SUNW_1.22, SUNWprivate_1.1);
        libCstd.so.1 (SUNW_1.1.1);
        libCrun.so.1 (SUNW_1.2);

New version require new libraries:
libm.so.2 (SUNW_1.1); -> available
libresolv.so.2 (SUNW_2.2.2); -> available
and one library in never version:
libxnet.so.1 (SUNW_1.3.1); -> instead of libxnet.so.1 (SUNW_1.1);

This one is not available by default on Solaris SPARC 64bit.
[root] /lib $ pvs /lib/libxnet.so.1
        libxnet.so.1;
        SUNW_1.3;
        SUNW_1.2;
        SUNW_1.1;

It looks like this version of NetXMS is dependent on optional Solaris patch 147002-01 (3-years old one) that has to be installed in Solaris global zone.
Is this dependency really required?

Best regards,
Marcin

Victor Kirhenshtein

Hi,

in version 1.2.7 we start using finction inet_pton which seems to be defined only in SUNW_1.3.1 version of libxnet. That's the only dependency on this version. I'll check how it's usage can be avoided.

Best regards,
Victor

Marcin

Hi Victor,

Before I start installing new version... Was this issue corrected in netxms-2.0-M1?

Regards,
Marcin

Alex Kirhenshtein

Sorry, but it's not fixed yet. It's registered as issue #735