Re: Segmentation Eror + Runing Eror
"delphibg" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.kylix |
|---|---|
| Message-ID | <[email protected]> |
> I'm probably not following you totally, but at least one part of your question > seems to relate to how Kylix CLX apps find the Qt libraries that they require > to run. If this is so then basically what you need to do is use > LD_LIBRARY_PATH to set the path that your app will use to find any required > libraries at runtime. > > Eg, if your Kylix install is in /usr/local/kylix then you might use: > > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/kylix/bin/ > > followed by > > export LD_LIBRARY_PATH > > at which point you should be able to launch your app outside of the IDE. > > Of course if you have other libraries that you application needs, then you > should add them to the library list also, ie > > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/kylix/bin/:/home/myaccount /somepath/ > > > I hope this is at least of some help. > > -- > adam starkey 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 ? ------------------------------------------------------- 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/