Re: Re: Segmentation Eror + Runing Eror
Adam Starkey <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.kylix |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 03 Aug 2002 21:50:29 -0000 "delphibg" <[email protected]> wrote: > Thanks about your message > I try it ( with litle local modification :) ) , > and it realy work ..... > But I want to asq , how can distribute my program ? > - With all needed library , and how to write .sh for > computer with diferent configuration from my > ( directory configuration ) ? > Is there a way to distribute executable file with all neded libray in > only one file ? > Kylix applications must be deployed with the required libraries. Off the top of my head I can't recall what libaries you need to ship with your app (there are about six or so, try looking for deploy.txt or in the help files), but you will probably want to either have a small script that installs those libraries into either the local path (you will still need to set LD_LIBRARY_PATH though), or into /usr/local/somewhere[1]. As far as I can recall, CLI based applications (IE apps not using CLX) do not need any libraries to run, if this is the case, and if you aren't comfortable writing linux scripts, you could possibly write a small installer application in kylix which installs all of the relevant libararies, and creates a simple script file to launch you application. [1] does anyone know if there is a recommended place that the qt/clx libs should be placed? I don't ever recall seeing a Borland prefered location in deploy.txt. -- adam starkey -- <[email protected]> ------------------------------------------------------- Forum / mailing list for Borland Kylix programmers Our web page: http://groups.yahoo.com/group/kylixgroup To join the forum: [email protected] To unsubscribe: [email protected] To post your messages: [email protected] To contact the moderator: [email protected] ------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/