hi thomas,

thx for the reply =)

after a successful build/install of either v5.2.1 or 5.3.dev on OSX
10.4.1, a check of operation with:

/usr/local/net-snmp/sbin/snmpd -v
   dyld: Symbol not found: _boot_DynaLoader

This is related to Perl.

i _just_ got that ...

If you've enabled embedded perl

i have.

my (current) config is:

   ./configure \
     --prefix=/usr/local/net-snmp \
     --with-logfile=/var/Logs/snmpd.log \
     --sysconfdir=/var/Settings/NetSNMPd \
     --mandir=/var/Documentation/man \
     --with-persistent-directory=/var/Data/NetSNMPd \
   --with-defaults \
   --disable-mini-agent \
   --enable-shared --disable-static \
   --with-libwrap \
   --with-default-snmp-version=3 \
   --with-openssl=/usr/local/ssl \
   [EMAIL PROTECTED] \
   --with-perl-modules --enable-embedded-perl \
   --without-rpm \
   --with-transports="UDP TCP Unix Callback" \
   --with-mib-modules="agentx disman/event-mib smux" \
   --with-out-mib-modules="host mibII/icmp mibII/mta_sendmail " \
   --disable-ipv6

watch the corresponding build process closely.

didn't THINK i saw any trouble ... let's take another look-see:

in configure output, the perl checks are:

   ...
   checking for perl CFLAGS...  -fno-common -DPERL_DARWIN -no-cpp-precomp
   -fno-strict-aliasing -pipe -I/usr/local/berkeley-db/include
   -I/usr/local/include
   -I/usr/local/perl_libs/privlib/darwin-thread-multi-2level/CORE
   checking for perl LDFLAGS...   -L/usr/local/berkeley-db/lib
   -L/usr/local/lib -L/usr/lib
   /usr/local/perl_libs/privlib/darwin-thread-multi-2level/auto/DynaLoader/Dyn
   aLoader.a -L/usr/local/perl_libs/privlib/darwin-thread-multi-2level/CORE
   -lperl -lc -lm -ldl
   checking for Perl_eval_pv... yes
   checking for eval_pv... no
   checking for perl_eval_pv... no
   ...

and, overall, seems to behave itself ...

   ---------------------------------------------------------
               Net-SNMP configuration summary:
   ---------------------------------------------------------

     SNMP Versions Supported:    1 2c 3
     Net-SNMP Version:           5.2.1
     Building for:               darwin8
     Network transport support:  UDP TCP Unix Callback
     SNMPv3 Security Modules:    usm
     Agent MIB code:             snmpv3mibs mibII/snmp_mib mibII/system_mib
   mibII/sysORTable mibII/vacm_vars utilities/execute agentx disman/event-mib
   smux
     SNMP Perl modules:          building -- embeddable
     Embedded perl support:      enabled
     Authentication support:     MD5 SHA1
     Encryption support:         DES AES

   ---------------------------------------------------------

now 'make':

lots of warnings re: "differ in signedness" ... e.g.,

   ...
   mib.c: In function 'sprint_realloc_description':
mib.c:4477: warning: pointer targets in passing argument 5 of 'snmp_strcat' differ in signedness
   ...

later in the output, i note:

   ...
   Writing Makefile for NetSNMP::OID
   Checking if your kit is complete...
   Looks good
   Warning: -L../../snmplib/.libs changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/../../snmplib/.libs
   Warning: -L../../snmplib/ changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/../../snmplib/
   Warning: -L../../agent/.libs changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/../../agent/.libs
   Warning: -L../../agent/ changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/../../agent/
   Warning: -L../../agent/helpers/.libs changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/../../agent/helpers/.libs
   Warning: -L../../agent/helpers/ changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/../../agent/helpers/
   Unrecognized argument in LIBS ignored:
   '/usr/local/perl_libs/privlib/darwin-thread-multi-2level/auto/DynaLoader/Dy
   naLoader.a'
   Warning: -L../../../snmplib/.libs changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/.libs
   Warning: -L../../../snmplib/ changed to
   -L/usr/ports/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/
   ...

which, at first glance, _looks_ problematic ...

What perl version is this?

fyi,

% perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
 Platform:
   osname=darwin, osvers=8.1.0, archname=darwin-thread-multi-2level
uname='darwin devbox 8.1.0 darwin kernel version 8.1.0: tue may 10 18:16:08 pdt 2005; root:xnu-792.1.5.obj~4release_ppc power macintosh powerpc '
...
   hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
   usemymalloc=n, bincompat5005=undef
 Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/berkeley-db/include -I/usr/local/include',
   optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/berkeley-db/include -I/usr/local/include' ccversion='', gccversion='4.0.0 20041026 (Apple Computer, Inc. build 4061)', gccosandvers='darwin8'
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
   alignbytes=8, prototype=define
 Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.4 cc', ldflags ='-L/usr/local/berkeley-db/lib -L/usr/local/lib -L/usr/lib'
   libpth=/usr/local/berkeley-db/lib /usr/local/lib /usr/lib
   libs=-ldb -lc -lm -ldl
   perllibs=-lc -lm -ldl
   libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
   gnulibc_version=''
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-L/usr/local/berkeley-db/lib -L/usr/local/lib -L/usr/lib -bundle -undefined dynamic_lookup'


Characteristics of this binary (from libperl):
 Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
                       PERL_IMPLICIT_CONTEXT
 Built under darwin
 Compiled at Jun  5 2005 19:41:23

cheers,

richard



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to