Opened 16 years ago

Closed 5 years ago

#16110 closed defect (worksforme)

libxml2: attempts to use libxslt.1.dylib

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: nox@…, mojca (Mojca Miklavec), cooljeanius (Eric Gallager), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: libxml2

Description

I previously had libxml2 2.6.32_1 and libxslt 1.1.23_0 installed. I forcibly uninstalled libxml2 and reinstalled it, to test an issue. During the reinstall, this message appeared in the debug output, and also a Mac OS X Crash Reporter dialog appeared with similar information:

dyld: lazy symbol binding failed: Symbol not found: _xmlXPathContextSetCache
  Referenced from: /mp/lib/libxslt.1.dylib
  Expected in: flat namespace

dyld: Symbol not found: _xmlXPathContextSetCache
  Referenced from: /mp/lib/libxslt.1.dylib
  Expected in: flat namespace

/mp is my MacPorts prefix. So it seems that libxml2 is trying to load libxslt.1.dylib during the build. You must modify the port so that this does not happen, because libxml2 does not declare a dependency on libxslt (and it cannot, since libxslt declares a dependency on libxml2, and we cannot have circular dependencies).

I am running Mac OS X 10.4.11 on an Intel Mac with Xcode 2.5 and MacPorts from trunk @38557.

Change History (9)

comment:1 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: nox@… added
Port: libxml2 added

comment:3 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

See also #29543.

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from cedric.luthi@… to macports-tickets@…

This port is no longer maintained.

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:7 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:8 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

I cannot seem to produce an unexpected error with libxml2 and libxslt.
Can this ticket be closed?

comment:9 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

I guess.

Note: See TracTickets for help on using tickets.