Re: Segmentation Eror + Runing Eror

Adam Starkey <[email protected]>
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
On Friday 02 August 2002 11:15 am, delphibg wrote:
> I had a problem with execution of Executable file (Runing it outside
> Kylix IDE ) - same problems like big part of newbies as I see .
> I solve it ( I think I do :-(?) ) with coping need library in "/lib"
> directory .
> Now I found new eror - Segmentation eror ******* .
> Please If someone know this setuation , or can solve it .....
> let post it here .....
> This will be great help for me , my frends , and more newbies ......
>

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




-------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.