LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Run/execute Kylix executable (https://www.linuxquestions.org/questions/programming-9/run-execute-kylix-executable-191922/)

stormNC 06-10-2004 09:59 AM

Run/execute Kylix executable
 
I have today installed Kylix 3 on my Suse 9 machine; it all went well and I produced a 'Hello World' type gui program that compiles and runs fine from within the IDE. The executable that it produces, however, does not run when clicked or otherwise started/run.

I am new to Linux so it may very well be a basic permissions issue, though I am trying to run the program as the same (non-root) user that wrote it.

TIA

Storm

nimra 06-10-2004 10:27 AM

you could check if its a permission problem:

> ls -l

if there is no x in the first line (something like this: -rw-r--r--) , you don't have the permission to execute. Change permission rights with:

> chmod u+x progname

btw: start program with ./progname

Hope it was the answer of your question

stormNC 06-10-2004 10:41 AM

the permissions are rwxr-xr-x, but running it from the command line did yield some additional info:

relocation error: ./Project1: undefined symbol: initPAnsiStrings

Project1 is the name of the program.

Investigating...

DH

nimra 06-10-2004 10:48 AM

try this:

http://forums.devshed.com/archive/t-123646

stormNC 06-10-2004 02:44 PM

I tried the suggested solutions in reverse order. The latter did not work at all, and the former works if you initiate the program from a command prompt, but not be clicking on it in a gui interface such as conqueror.

Still digging...

Thanks.

DH


All times are GMT -5. The time now is 04:20 AM.