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.

Posted in Uncategorized | Leave a comment

Guys night out

Tonight a couple of friends and I went out for dinner. Afterwords, we decided to go to a local video arcade and blow off some stress. πŸ˜€

It has been a while since I’ve played video games. About six months or so to be exact. We raced against each other and shot a lot of bad guys. One game in particular (and don’t ask me the name of the game) really took its toll on my arm and wrist. I guess it was the constant kick back of the gun. Hmmm… Maybe I just found another way to get some exercise in! πŸ˜‰

Another item that we noticed, is that either the games were going way to fast or we are getting too old. In addition, almost every game cost one dollar. Even Galaga cost fifty cents! Whatever happened to those good old games that cost only a quarter?

Posted in Uncategorized | Leave a comment