On Sat, 02 Nov 2019 11:34:54 -0400,
David Haller wrote:
> 
> 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.

A couple of points, I am using a multilib profile, the ones that are
not multlib say so and I have never used those.  So, I copied the .la
files to /usr/lib, they seem to be generated and not part of any
package.  So now I have the following error:

/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/libatk-bridge-2.0.so: error adding symbols: file in wrong
format

So, the package for that file seems to be correct, it has two files of
the same name in /usr/llib and /usr/lib64 which are different.  It
looks like gtk3+ is picking the wrong file or something -- if anyone
has an idea as to how to fix, it would be great.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         cov...@ccs.covici.com

Reply via email to