image image image image image image image
rss0.9           rss2.0
Biography
Seminars
Publications
Navigation
Home
Today
Archives

Categories
All
BorCon 2003
Delphi 8
Dot Net
General
Kylix FAQ
Web Services

RSS
RSS 0.9
RSS 2.0

Links
Cool Sites
Delphi™
Kylix™
Linux®
Microsoft® .NET™
Programming
Miscellaneous
Partners
Book Recommendations

Blogroll
Currently not available

 
 
Kylix FAQ: Running Kylix applications outside the IDE
There have been numerous questions on the borland newsgroups (news://borland.public.kylix.*) about how to run Kylix applications outside of the IDE.

The problem usually manifests itself with an error that states “error while loading shared libraries:”.

Kylix 3 applications that error is
   undefined symbol: initPAnsiStrings

For Kylix 2 applications the error looks like:
   libqtintf.so: cannot load shared object file: No such file or directory

So what exactly is going on here? The Linux loader is unable to find the shared object libraries needed by the application.

Linux locates shared object libaries in several ways. One way they are located is by using the environment variable LD_LIBRARY_PATH. Other methods are explained in
this paper.

If you are running this application on the same box that Kylix is installed on, simply run the kylixpath script located in the bin directory before executing your application. Executing this script looks similar to the following:

$ source /opt/kylix3/bin/kylixpath
$ ./yourappnamehere

Running an application on another Linux box where Kylix is not installed requires additional steps. More information can be found in my Deploying Kylix 3 Applications paper.
10:08 AM - Rick Ross -

© Copyright 2001-2010 by Rick Ross. All Rights Reserved. All trademarks are the property of their respective owners.

Powered By: Nucleus