[MacPorts] #61624: net-snmp @5.8: error: implicit declaration of function 'get_in_address' is invalid in C99

MacPorts noreply at macports.org
Mon Mar 8 11:55:07 UTC 2021


#61624: net-snmp @5.8: error: implicit declaration of function 'get_in_address' is
invalid in C99
------------------------+-----------------------------
  Reporter:  Prolixium  |      Owner:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:  fixed      |   Keywords:  bigsur catalina
      Port:  net-snmp   |
------------------------+-----------------------------

Comment (by ryandesign):

 Aaron, this update changed the library's major version
 (libnetsnmp.35.dylib became libnetsnmp.40.dylib) so everything that was
 linked to the old library is now broken, e.g.:

 {{{
 $ php70 -v
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/opt/local/lib/php70/extensions/no-debug-non-zts-20151012/snmp.so' -
 dlopen(/opt/local/lib/php70/extensions/no-debug-non-zts-20151012/snmp.so,
 9): Library not loaded: /opt/local/lib/libnetsnmp.35.dylib
   Referenced from: /opt/local/lib/php70/extensions/no-debug-non-
 zts-20151012/snmp.so
   Reason: image not found in Unknown on line 0
 }}}

 You must revbump everything that links with the library (that has not
 already been revbumped or otherwise updated since then). Determining
 whether this is necessary, and doing it, are part of your responsibility
 when you update a port that provides a library.

-- 
Ticket URL: <https://trac.macports.org/ticket/61624#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list