On 01/09/11 00:45, Jonas Maebe wrote:
> 
> 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)

sorry, here is what i have done to solve the linking problems:

i chnaged the positions in: /etc/ld.so.conf

so there is always the lib32 directory before the lib64 directory.

now it looks like this:

/lib
/lib64
/usr/lib
/usr/lib64
[...]

i thought this shouldn't make any differnce ... but it did.

After that i just created a few missing symlinks for gtk and gdk libs.
For example: ln -s /usr/lib/libgtk-x11-2.0.so.0.2000.1
/usr/lib/libgtk-x11-2.0.so

or is that not allowed?
> 
>> 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.
> 

i have to look into that.
with "ldd ./lazarus" it also sayed Permission denied.
i will look if i find something with a wrong dynamic linker.

thanks so far
Benedikt
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to