I think the error is when building the perl modules ? The libnetsnmpmibs.15.dylib file is present in ./agent/.libs/ directory, but it seems the build is looking for them in the installation directory (/sw/lib).
I'm not familiar with the fink build system, but I would have thought that installation would start unless the entire build completes successfully. If that is the case then the build should look in ./agent/.libs/ shouldn't it, rather than the system installation directory. Cheers, Brendan. Brendan Simon wrote: > >>> /usr/bin/ld: warning can't open dynamic library: >>> /sw/lib/libnetsnmphelpers.15.dylib referenced from: >>> >> /sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../apps/.libs/libnetsnmptrapd.dylib >> >> >> >>> (checking for undefined symbols may be affected) (No such file or >>> directory, errno = 2) >>> /usr/bin/ld: Undefined symbols: >>> _log_notification referenced from libnetsnmptrapd.15 expected to be >>> defined in /sw/lib/libnetsnmpmibs.15.dylib >>> collect2: ld returned 1 exit status >>> make[2]: *** >>> [../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bundle] >>> Error 1 >>> make[1]: *** [subdirs] Error 2 >>> make: *** [perlmodules] Error 1 >>> ### execution of /var/tmp/tmp.1.R6lZ9S failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-net-snmp-unified-5.4.1-2 >>> (Reading database ... 64426 files and directories currently >>> installed.) >>> Removing fink-buildlock-net-snmp-unified-5.4.1-2 ... >>> Failed: phase compiling: net-snmp-unified-5.4.1-2 failed >>> >>> >>> >> net-snmp-unified works for me (10.4.11 PowerPC). >> >> I see a "/usr/local" on your build line. Do you have anything in >> /usr/local that may be confusing things? >> > I saw some mail archives suggesting that there could be conflicts with > previous installs and to move all these files out the way. > I see that I do have a 5.2.1 installation in /usr, so I removed all > the libnetsnmp* files from /usr/lib (put them in > /usr/lib/old-netsnmp-libs/) and also all the *snmp* files from > /usr/bin (put them in /usr/bin/old-netsnmp-bin/). > I checked in /usr/local/lib and /sw/lib and there were no other files > related to snmp. > > I still get the same errors above. > > The file /sw/lib/libnetsnmpmibs.15.dylib does not seem to be present, > so I presume it should have been generated and is not. I need to > capture the output to a file and do some grepping. > > Has anyone seen or resolved this? > > Does a fink install net-snmp-unified so a make clean before building ??? > > Thanks, Brendan. > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users