[csw-maintainers] A bit of a problem, help wanted

Dagobert Michelsen dam at opencsw.org
Fri Mar 20 11:43:37 CET 2009


Hi Roger,

Am 20.03.2009 um 09:19 schrieb Roger Håkansson:
> > Please check in what you have done and post the SVN path so we
>> can take a look at it.
>
> It's already there https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/netsnmp/trunk/

Some investigation:

- Running the testcase gives me an error:

> build8s% /opt/csw/bin/perl /tmp/snmp-test-44-18205/hello.pl
> Can't load '/home/hson/dev/mgar/pkg/netsnmp/trunk/work/build-isa- 
> sparcv8/net-snmp-5.4.2.1/perl/blib/arch/auto/NetSNMP/ASN/ASN.so' for  
> module NetSNMP::ASN: ld.so.1: perl: fatal: libnetsnmp.so.15: open  
> failed: No such file or directory at /opt/csw/lib/perl/5.8.8/ 
> DynaLoader.pm line 230.
>  at /tmp/snmp-test-44-18205/hello.pl line 7
> Compilation failed in require at /tmp/snmp-test-44-18205/hello.pl  
> line 7.
> BEGIN failed--compilation aborted at /tmp/snmp-test-44-18205/ 
> hello.pl line 7.

- Trying to link it points to *.so.10 instead of the provided *.so.15:

> build8s% ldd ../perl/blib/arch/auto/NetSNMP/ASN/ASN.so
>         libnetsnmp.so.10 =>      /opt/csw/lib/libnetsnmp.so.10
>         libgen.so.1 =>   /usr/lib/libgen.so.1
>         libelf.so.1 =>   /usr/lib/libelf.so.1
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libdl.so.1 =>    /usr/lib/libdl.so.1
>         libmp.so.2 =>    /usr/lib/libmp.so.2
>         /usr/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1

> build8s% ls -l ../snmplib/.libs/libnetsnmp.*
> -rw-r--r--   1 dam      csw      1217648 Mar 20 09:37 ../ 
> snmplib/.libs/libnetsnmp.a
> lrwxrwxrwx   1 dam      csw           16 Mar 20 09:37 ../ 
> snmplib/.libs/libnetsnmp.la -> ../libnetsnmp.la
> -rw-r--r--   1 dam      csw          887 Mar 20 09:37 ../ 
> snmplib/.libs/libnetsnmp.lai
> lrwxrwxrwx   1 dam      csw           20 Mar 20 09:37 ../ 
> snmplib/.libs/libnetsnmp.so -> libnetsnmp.so.15.1.2
> lrwxrwxrwx   1 dam      csw           20 Mar 20 09:37 ../ 
> snmplib/.libs/libnetsnmp.so.15 -> libnetsnmp.so.15.1.2
> -rwxr-xr-x   1 dam      csw       865424 Mar 20 09:37 ../ 
> snmplib/.libs/libnetsnmp.so.15.1.2


It looks like there is a problem setting
       NET-SNMP-IN-SOURCE
       NET-SNMP-PATH
to use local binding, but I can't find where this is actually set :-(


Best regards

   -- Dago




More information about the maintainers mailing list