sternas wrote: Sir, after a lot of tests:
the "Multi-Archtecture model" on ROSA and OpenMandriva (64 bits) for GTK 32bit libraries, don't work OK
We will try to fix the CT scripts, this is an open task for us.
We have the same problem and with other Linux distribution.
Please don't forget: MultiArch is a new technology on Linux OS...
for sample MultiArch model on Redhat, Fedora, Suse is stable, on Debian and Ubuntu is theoretical (our Lab test result is
here
)
Your help please...
You might remember (or not), that I managed to compile and use 32bit GTK apps with
CT 2.70 on 64bit ROSA
- even before you added linux cross build elements in CT.
Main problem that I had was missing symlinks for needed libraries in order to compile the apps, so I made this script:
cd /lib
find *.so.? -exec sh -c '[ ! -f `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && [ ! -h `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && sudo ln -s {} `echo {} | sed 's/\.so\.[0-9]/\.so/'`' \;
cd /usr/lib
find *.so.? -exec sh -c '[ ! -f `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && [ ! -h `echo {} | sed 's/\.so\.[0-9]/\.so/'` ] && sudo ln -s {} `echo {} | sed 's/\.so\.[0-9]/\.so/'`' \;
This script look for libs that have number after .so and then make proper .so symlink. For example if it find "somelib.so.4" it will make a symlink named "somelib.so".
After that compiling was fully working.
Only other problem that I had with 32bit GTK apps on any 64bit Mandriva was the fact that they do not look same as 64bit ones.
Accomplishing the same look was easy task in older ROSA releases with 32bit repos enabled. I just had to add those libraries:
urpmi libcanberra-gtk0
urpmi libmurrine
urpmi libgtk-aurora-engine-1
With introduction of GTK 3 that was not enough to accomplish the same look. Since those apps looked properly on 32bit system I always considered that as a minor issue.
Would you please give some example of problems that you had? Maybe I could help if I find some free time.