[MacPorts] #33827: cairo tries to link with libraries it doesn't declare dependencies on

MacPorts noreply at macports.org
Thu Apr 5 11:51:44 PDT 2012


#33827: cairo tries to link with libraries it doesn't declare dependencies on
------------------------------------+---------------------------------------
 Reporter:  adam.bartley@…          |       Owner:  ryandesign@…           
     Type:  defect                  |      Status:  assigned               
 Priority:  Normal                  |   Milestone:                         
Component:  ports                   |     Version:  2.0.4                  
 Keywords:                          |        Port:  cairo, cairo-devel     
------------------------------------+---------------------------------------
Changes (by ryandesign@…):

 * cc: obartunov@… (added)


Comment:

 You can work around the problem by deactivating the implicated ports for
 the duration of the cairo build. For example, if the cairo log says
 "ignoring file /opt/local/lib/libspectre.dylib, file was built for
 unsupported file format which is not the architecture being linked", then
 you can use "port provides /opt/local/lib/libspectre.dylib" to discover
 that this library was provided by the "libspectre" port. You can then
 "sudo port -f deactivate libspectre", "sudo port clean cairo" and try
 again. You may have to do this for multiple implicated ports. Once you get
 cairo installed, you can "sudo port activate libspectre" again (and
 similarly for other ports you deactivated) if desired.

-- 
Ticket URL: <https://trac.macports.org/ticket/33827#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list