Install Kylix
After sucessfully install Mandrake 10 and Open Office 2, I try to install Kylix 3 (30 day trial version). We have two option to install, as regular user or as root. The advantage of install as root is every user in my machine can run Kylix. I think there is no disadvantage. Of course you must have root access. Because I have root access to my machine, I install Kylix as root.
The Installation is so simple : run setup.sh, and the installer do almost everything we need. Almost ? Yes, because I have some problem after that. Thanks to Wawan Sj for his work around this.
Before we can use Kylix, we must have a trial license from this link, and copy the file we receive via email to our home directory.
The First problem
After I create new Application and drop a button (or other component), and I try to run my application. My Kylix hang.
The problem happen because Kylix Debugger fail on the version of kernel. To solve this problem, change the startdelphi shell script, add this line
export LD_ASSUME_KERNEL=2.4.19
Run again the Kylix, create simple application, and run that application.
The Second problem
When I want to run my application directly (from terminal), I got this error message
./Project1: relocation error: ./Project1: undefined symbol: initPAnsiString
This error happend because the library needed cannot be accessed. To solve this problem, export the environment variable LD_LIBRARY_PATH environment variable before we run our application.
export LD_LIBRARY_PATH=/usr/local/kylix3/bin
the /usr/local is the directory where kylix installed.