[Lazarus] Deploying application with librarys

Krzysztof dibo20 at wp.pl
Tue Aug 7 11:43:54 CEST 2012


2012/8/7  <michael.vancanneyt at wisa.be>:
> If you want to create a script that installs it anyway, make sure it
> installs in to /opt/yourprogram/
> with directories
> bin
> lib
>
> Libraries go into lib. Then create a startup shell script in
> /opt/yourprogram/bin that adds /opt/yourprogram/lib
> to the
> LD_LIBRARY_PATH environment variable, after which it starts the real binary.
> (the installer should create this script)
>
> Make a symlink to this shell script in /usr/bin or /usr/local/bin.
>

I like this solution with /opt. Must try it. Thanks




More information about the Lazarus mailing list