I just tried my first ShowMessage('Hello Word') with CrossKylix.
The use Libc replacement for easy deploy is checked.
I have my linux executable and put with it in the same directory the
libborqt-6.9.0-qt2.3.so
But when I try to execute my app on Linux I get the message :
"./TestKylix symbol lookup error : ./TestKylix : undefined symbol :
initPAnsiStrings"
What do I am doing wrong ?
Thank you for your help !
Please learn how to tell linux loader how it can find application libraries.
In short, environment variable LD_LIBRARY_PATH should contain directory
where your library is located. Usually application should be executed via
shell script like this:
#!/bin/bash
export LD_LIBRARY_PATH=path_to_library:$LD_LIBRARY_PATH
./TestKylix
> #!/bin/bash
> export LD_LIBRARY_PATH=path_to_library:$LD_LIBRARY_PATH
> ./TestKylix
Andreas Hausladen's solution is *much* cooler.
http://unvclx.sourceforge.net/unitcomp.html
http://unvclx.sourceforge.net/downloads/unitcomp/QBindings.tar.gz