#65872 closed defect (fixed)

libxml2: symbol not found: _xmlIOFTPClose

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 (5)

comment:1 Changed 19 months 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 19 months 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 19 months 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 19 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In bfc4d57f3a8df87cf059802228d913ac9d3e7360/macports-ports (master):

libxml2: Reenable ftp support

Closes: #65872

Note: See TracTickets for help on using tickets.