Hi, Tristan Colgate <tcolg...@gmail.com> writes:
> Ah, sorry.... > > ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 > ;;; or pass the --no-autocompile argument to disable. > ;;; compiling /usr/local/share/guile/site/snmp/net-snmp.scm > ;;; WARNING: compilation of > /usr/local/share/guile/site/snmp/net-snmp.scm failed: > ;;; key misc-error, throw args (#f "~A ~S" ("no code for module" (snmp > net-snmp-primitive)) #f) > STRING: Unknown (edit /etc/snmp/snmpd.conf) > STRING: pinot > > the snmp net-snmp-primitive module is provided by a load-extension in > the swig wrapper module. > it's loaded by the module that swig has generated (snmp net-snmp) So does the .so that’s loaded via ‘load-extension’ calls ‘scm_c_define_module ()’, right? And ‘net-snmp.scm’ does: (define-module (snmp net-snmp) #:export (...)) (load-extension ...) (use-modules (snmp net-snmp-primitive)) Right? Could you make sure with strace(1) or some such that the right .so gets loaded? Thanks, Ludo’.