[fpc-pascal] error compiling lazarus
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Jan 9 00:45:39 CET 2011
On 09 Jan 2011, at 00:32, Benedikt Schindler wrote:
> I think this is a problem with the 64Bit compiler.
> In 32Bit this problem doesn't exist.
What did you do to fix the linking of 32 bit programs on your system? (since in the previous message you showed that this did not work)
> If i compile a 32bit programm wih lclproc.pas in the
> uses class everything looks fine.
> If i try to run the compiled programm then it sayed:
>
>> execvp: <programm name> : Permission denied.
>
> if i compile the same programm without lclproc.pas in the uses class
> everthing works fine, and i could run the programm.
>
> Does someone know, what bash command lclproc.pas tryes to use in the
> initialization ?
That error message has nothing to do with bash commands. It usually means that an invalid dynamic linker is used. You can see the specified dynamic linker by looking for the entry containing "ld-linux.so" in the output of "ldd programname" (if you don't use any units, then the program won't be linked dynamically and hence you cannot have this problem).
Make sure the dynamic linker exists and is for the same architecture as the program itself. In case you solved the 32 bit compilation problem by changing some symlinks or copying some files, then that is probably the reason for this problem.
Jonas
More information about the fpc-pascal
mailing list