Hi Andrey, On Fri, Dec 13, 2019 at 05:18:45PM +0500, Andrey Rahmatullin wrote: > On Fri, Dec 13, 2019 at 09:49:47AM +0100, Andreas Tille wrote: > > g++ -o pdb2pka/substruct/Algorithms.cpython-37m-x86_64-linux-gnu.so > > -Wl,-z,relro -Wl,-z,now -shared pdb2pka/substruct/Algorithms.os -L/usr/lib > > -lpython3.7 > > /usr/bin/ld: cannot find -lpython3.7 > Actually, it's a different problem, sorry. > There is no -lpython3.7, only -lpython3.7m. If the build system used > pkgconfig it would know that. I guess the library name is hardcoded > instead? I see that it got -I/usr/include/python3.7m from somewhere, so > it's not completely broken.
Thanks for that additional hint. I can confirm that I checked whether pkgconfig can be used before I was asking here. But we seem to agree that this is not the case. I admit I have no real clue how to convince scons to link to the correct library name. :-( Kind regards Andreas. -- http://fam-tille.de