LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-10-2004, 09:59 AM   #1
stormNC
LQ Newbie
 
Registered: Apr 2004
Location: Raleigh, NC
Distribution: Suse 9.0 and Mandrake 9.2
Posts: 8

Rep: Reputation: 0
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
 
Old 06-10-2004, 10:27 AM   #2
nimra
LQ Newbie
 
Registered: May 2004
Posts: 28

Rep: Reputation: 15
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
 
Old 06-10-2004, 10:41 AM   #3
stormNC
LQ Newbie
 
Registered: Apr 2004
Location: Raleigh, NC
Distribution: Suse 9.0 and Mandrake 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 06-10-2004, 10:48 AM   #4
nimra
LQ Newbie
 
Registered: May 2004
Posts: 28

Rep: Reputation: 15
try this:

http://forums.devshed.com/archive/t-123646
 
Old 06-10-2004, 02:44 PM   #5
stormNC
LQ Newbie
 
Registered: Apr 2004
Location: Raleigh, NC
Distribution: Suse 9.0 and Mandrake 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kylix program will not run outside Kylix vinsky2002 Programming 3 09-30-2005 11:57 AM
Run executable file compiled by kylix and mysql in Fedora Core 4 aa_husni Fedora 0 09-15-2005 12:14 AM
Create .rpm for executable file from Kylix 3 swg079 Linux - Newbie 4 10-16-2004 07:00 AM
Why the executable file could not execute? jeson_515 Programming 3 03-14-2004 09:40 PM
Cannot execute executable files without ./ brady9953 Linux - Newbie 3 10-13-2003 03:19 PM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration