Using macports dylibs without macports

Ryan Schmidt ryandesign at
Thu Sep 17 11:08:35 PDT 2009

On Sep 17, 2009, at 12:51, Travis Griggs wrote:

> This is likely a very naive question(s). I have an application  
> (.app). It makes use of CairoGrahics library (libcairo.dylib)  
> provided by Macports. I have some users though, who are not going to  
> install macports on their systems just so they can use my app. Can I  
> just copy the appropriate dylibs to location of the executable down  
> in the bowels of the .app and have it work correctly? Is there a way  
> to achieve what I want?

Dynamic libraries and executables installed by MacPorts are not  
relocatable. They're also only meant to be used on a single major  
version of Mac OS X. These qualities make them not very suitable for  
redistribution as part of your software.

More information about the macports-users mailing list