Hello!
I’m building a 32-bit compatible application for compatible platforms on my OpenSUSE Leap 16.0.
I found that such packages like Mesa-libGL1 have corresponding Mesa-libGL1-devel package but do not have related Mesa-libGL1-devel-32bit package.
Actually I see a 32-bit shared object file /usr/lib/libGL.so.1.7.0 but do not have a /usr/lib/pkgconfig/gl.pc file which will return path to this file. Instead of this, pkgconfig looks into /usr/lib64/pkgconfig/gl.pc and returns path to /usr/lib64/libGL.so which is incompatible with 32-bit build. Linker gets crazy and can not link a 32-bit binary with 64-bit library.
Is there some option to install 32-bit pkgconfig files instead of manually making them? Am I missing something?
@sadko4u There is no 32bit support in Leap 16.0…
https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/16.0/html/release-notes-leap-160/index.html#jsc-PED-12715
That’s not completely correct. For example, I see a 32-bit libsndfile.so in /usr/lib which can be used for linkage. The same is true about libGL.so. But there are no corresponding *.pc files. By the other side, I see cairo.pc for 32-bit pkgconfig is right there. So at least I potentially could build software, not regarding for the ability to launch it.
@sadko4u It’s linux, you can do what ever you want
It’s just not supported, don’t forget to add the 32bit emulation boot option. You would need to build everything your wanting with 32bit support and maintain it…
Look at using distrobox perhaps?
Hmm. Seems that I still have problems with 16.0. There’s no 32-bit gstreamer, so I need to find a distro which will support 32-bit builds…
@sadko4u Tumbleweed in distrobox…