[OGo-Users] Help: compile OgO on x86_64 / Ubuntu 7.10

Albrecht Dreß users@opengroupware.org
Thu, 10 Jan 2008 17:37:02 +0100


Am 10.01.2008 16:49:48 schrieb(en) Albrecht Dreß:
> Thanks for that information - I tried it, but I *still* get the evil  
> "Defaults" problem.

Just to add an other strange effect:  I downloaded and compiled  
libFoundation on a i386 (PIII) FC 6 box with gcc 4.1.2.  On the FC 6  
system, Defaults works as expected.

Copied Defaults, libFoundation.so.1.1.3 and libobjc.so.1.0.0 (the FC 6  
stock packet) to the x86_64 box, and run

$ LD_PRELOAD="./libFoundation.so.1.1.3 ./libobjc.so.1.0.0" ./Defaults  
write a b 10
$ LD_PRELOAD="./libFoundation.so.1.1.3 ./libobjc.so.1.0.0" ./Defaults  
read a
{
4c4cb = 10;
}
$ LD_PRELOAD="./libFoundation.so.1.1.3 ./libobjc.so.1.0.0" ldd  
./Defaults
ERROR: ld.so: object './libFoundation.so.1.1.3' from LD_PRELOAD cannot  
be preloaded: ignored.
ERROR: ld.so: object './libobjc.so.1.0.0' from LD_PRELOAD cannot be  
preloaded: ignored.
ERROR: ld.so: object './libFoundation.so.1.1.3' from LD_PRELOAD cannot  
be preloaded: ignored.
ERROR: ld.so: object './libobjc.so.1.0.0' from LD_PRELOAD cannot be  
preloaded: ignored.
         linux-gate.so.1 =>  (0xffffe000)
         ./libFoundation.so.1.1.3 (0xf7d9c000)
         ./libobjc.so.1.0.0 (0xf7d81000)
         libpthread.so.0 => /lib32/libpthread.so.0 (0xf7d63000)
         libm.so.6 => /lib32/libm.so.6 (0xf7d3e000)
         libc.so.6 => /lib32/libc.so.6 (0xf7bf4000)
         libdl.so.2 => /lib32/libdl.so.2 (0xf7bf0000)
         libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7be4000)
         /lib/ld-linux.so.2 (0xf7ee4000)

????????? How can this happen - is it a problem with the system libs?

Cheers, Albrecht.