Clarification on libraries
#1
This how it seems to work to me, just checking with you guys.

If you use external libraries and you bind your program, those libraries must be present on the user's machine for the app to run. A bound program is really just your script and the interpreter bundled together, it does not include the library.

But if you compile your app with BuildFactory that is not necessary. In that case, the library is incorporated into your file before compilation happens.

I came across this when packaging apps for x86_64, where we have an interpreter but no BuildFactory. Of course the packaging system to the rescue, but still.

Am I understanding this correctly?
Reply
#2
Yes, the Buildfactory appends the library files to the main code and then binds and compresses the bound file with yab. A bound program depends onthe libraries being in ~/config/settings/yab.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting