Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] matplotlib build fails: link using /usr/lib instead of /usr/lib64
Date: Wed, 27 May 2020 14:44:30
Message-Id: 81b3bc3e-0f6e-ffb3-2b4f-affc6ccf363e@gentoo.org
In Reply to: [gentoo-user] matplotlib build fails: link using /usr/lib instead of /usr/lib64 by Grant Edwards
1 On 5/27/20 10:26 AM, Grant Edwards wrote:
2 > I tried to emerge matplotlib today, and it failed because it's linking
3 > in 32-bit libraries instead of 64 bit ones:
4 >
5 > ...
6 >
7 > What would cause that?
8 >
9
10 On the command-line:
11
12 -L/usr/lib -L/usr/lib64
13
14 Some part of... some build system... is buggy. Those flags can come from
15 many different places:
16
17 * hard-coded in matplotlib or any of its dependencies' build systems
18
19 * from a dependency's pkg-config file
20
21 * incorrectly guessed by a ./configure test that didn't look too hard
22 at which library it found
23
24 * correctly guessed for a library that was installed to the wrong
25 place (/usr/lib instead of /usr/lib64)
26
27 Et cetera. Best to file a bug.