Opened 2 years ago

Last modified 2 years ago

#65872 closed defect

libxml2: symbol not found: _xmlIOFTPClose — at Version 4

Reported by: jimjag (Jim Jagielski) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port: libxml2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Upgrading to @2.10.2_0 from 2.9.14_1 of libxml2 caused numerous failures due to a missing symbol:

ImportError: dlopen(.../python3.9/site-packages/xmlsec.cpython-39-darwin.so, 0x0002): Symbol not found: (_xmlIOFTPClose)
  Referenced from: '/opt/local/lib/libxmlsec1.1.dylib'
  Expected in: '/opt/local/lib/libxml2.2.dylib'

Any program using libxmlsec will no longer work due to this missing function in the new build

Change History (4)

comment:1 Changed 2 years ago by jimjag (Jim Jagielski)

Note: Beginning with 2.10.0, libxml2 added:

Disable FTP support by default

Likely we need to force this back via a configure option.

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Owner: set to ryandesign
Priority: HighNormal
Status: newassigned
Summary: Symbol not found: (_xmlIOFTPClose)libxml2: symbol not found: _xmlIOFTPClose
Version: 2.7.2

Can you provide more info, such as which macOS release(s) you're testing on, along with your Mac hardware?

A log would be helpful, too!

comment:3 Changed 2 years ago by jimjag (Jim Jagielski)

Using macOS 12.6 on Xcode 14.0. This in an Intel Mac Pro (2019) - new cheese grater

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.