Hello,

On Sat, 02 Nov 2019, John Covici wrote:
>On Sat, 02 Nov 2019 02:58:16 -0400,
>David Haller wrote:
>> On Sat, 02 Nov 2019, John Covici wrote:
>> >Hi.  Well, I was finally able to do the change of profile tothe 17.1
>> >profile.  I have gotten all  the way almost to the end of this process
>> >to the final step where itwantsto emerge all the 32-bit packages.  I
>> >am about two from the end of that list and trying to emerge
>> >x11-libs/gtk+-2.24.32-r1  andI have run into this problem:
>> >
>> >libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
>> >-Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
>> >/usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
>>  ^^^^^^^^^^^^^^^
>> >-lgobject-2.0 -lglib-2.0
>> >/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>> >/usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
>> [..]
>> >Thanks in advance for any suggestions asto howto proceed.
>> 
>> Have you moved your /usr/lib* stuff to the new layout yet? I.e.
>> is /usr/lib a symlink to /usr/lib64 or is it a directory containing
>> the 32-bit libs? If the latter, gcc is picking up the wrong lib for
>> this (64-bit) compile.
>> 
>> And anyway, are you on a multilib setup and have both atk (and deps)
>> and gtk+ the "abi_x86_32 multilib" USE-flags set?
>> 
>> I still have the old /usr/lib* layout, i.e.:
>> $ ls -ld /usr/lib* | cut -d/ -f2-
>> usr/lib -> lib64/
>> usr/lib32/
>> usr/lib64/
>> usr/libexec/
>> 
>> and this in make.conf:
>> 
>> CHOST="x86_64-pc-linux-gnu"
>> ABI_X86="64"
>> 
>> and above mentionend USE-flags for all packages and their deps I
>> want/need 32-bit libs (and/or binaries)...
>
>I have the new layout:
>drwxr-xr-x 68 root root 651 Nov  2 01:10 /usr/lib/

But you're on

CHOST="x86_64-pc-linux-gnu"
ABI_X86="64"

are you?

>and a use flag for the offending package
>
>dev-libs/atk abi_x86_32

I don't see 'multilib' there... Do you have /usr/lib64/libatk-1.0.*?

If not, add 'multilib' to all deps of gtk+ and re-emerge those.

HTH,
-dnh

-- 
Mal: "We're in deep space, corner of no and where."
                                --Episode #14, "Objects in Space"

Reply via email to