On 09 Jan 2011, at 11:26, Benedikt Schindler wrote:

>> 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.

It's a very bad idea to mess around with standard settings in that file unless 
you really know what you are doing (and for the record, I don't know the 
details about that either).

> 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?

It is "allowed", but unless you know the low level details of how your 
distribution is designed you are very likely to mess things up. If you don't 
have those symlinks, it's much better to install the "development" variants of 
the relevant packages. Amongst other things, they will create those syminks.



Jona_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to