auriamg / macdylibbundler

Utility to ease bundling libraries into executables for OSX
MIT License
550 stars 83 forks source link

No libraries were copied into the specified directory #11

Closed ricketybridge closed 9 years ago

ricketybridge commented 9 years ago

I ran the following command:

dylibbundler -od -b -x ./myapp -d ./libs/

I got the following output:

Then I checked ./libs/ and there was nothing in it. Your instructions say that the -b flag is supposed to "Cop[y] libaries to a local directory." It does not appear to have done this. (According to the description of the -d flag, if I'm understanding correctly, the local directory is supposed to be the one set by -d.)

I am a total noob, so it's completely possible that I've done something wrong, but I have no idea what. Is this flag in fact not supposed to collect dependencies? If not, how else are we supposed to bundle them with your program?

ricketybridge commented 9 years ago

Nevermind; I don't believe my program had any dylibs as dependencies.

auriamg commented 9 years ago

Hi, in doubt you can use the "otool -L " command to verify what your program links against. dylibbundler will only include libraries that do not come with the system. So it's quite likely that in your case there indeed isn't any, though you can verify using that command

ricketybridge commented 9 years ago

That's exactly what I did. Thanks.