dylibs

avatar_000

Registered
i don't know if this is the right forum,...

However. Is it possible to just copy dylibs installed on a mac os x (client or server) to another mac osx.

ex : i have an application which uses xml2 on mac os x. so i need xml2 dylibs.
i compile the soft on a machine. is it ok to just copy th xml2 dylibs together with my application.

avatar
 
As long as all the dependancies are taken care of it should work. So if libxml2.dylib itself depends on libfoo.dylib that would have to go to.

Now the legality of that depends on the license for your xml library. I was just commenting on the technical feasibility.

-Eric
 
Well,

in fact it is a package i want to create.
it's in perl. i have a perl2exe compiler (licensed of course) and after i compiled my little prog, i want to create a package of it.

with packagemaker i can do that .
so i chose my little application + the necessary dylibs i need to complete my package. so i don't have to download/build libxml2 on the other machine.

right ? Or am i making a mistake here.

avatar
 
I have never done that with perl but on the whole it sounds good to me. One think you may what to be careful about is looking to see if there is already a version of the library present and do the right thing. I can imagine people would get really upset if your little package trashed their Fink installs like Virex did.

-Eric
 
Back
Top