For Programmers: Free Programming Magazines  


Home > Archive > Kylix > February 2006 > CrossKylix Easy Deploy ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CrossKylix Easy Deploy ?
Nibbler

2006-02-08, 10:21 am

Hi,

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 !
Ender

2006-02-08, 10:21 am

"Nibbler" <no@spam>
> 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 ?


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_LIBR
ARY_PATH
../TestKylix




Forrest

2006-02-08, 10:21 am

Ender wrote:

> #!/bin/bash
> export LD_LIBRARY_PATH=path_to_library:$LD_LIBR
ARY_PATH
> ./TestKylix


Andreas Hausladen's solution is *much* er.

http://unvclx.sourceforge.net/unitcomp.html
http://unvclx.sourceforge.net/downl...Bindings.tar.gz
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com