Changqing Li schrieb am Di 25. Feb, 10:02 (+0800): > On 2/25/25 07:36, Jörg Sommer wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the sender and > > know the content is safe. > > > > Changqing Li via lists.openembedded.org schrieb am Do 20. Feb, 11:57 > > (+0800): > > > The reverted commit causes regression when ldconfig not in > > > DISTRO_FEATURES, before, without ldconfig in DISTRO_FEATURES, > > > ctypes.util.find_library(name) can find the lib if it is installed, > > Hello Changqing Li, > > > > Did I understand correctly that gtk+3 was found before, indent of ldconfig > > was in der DISTRO_FEATURES? But after the change, if fails. > > > > Where is libgdk installed? In /usr/lib or somewhere else?
> libgtk is under /usr/lib. See: > > root@qemux86-64:~# ldconfig -p | grep gtk-3 > > libgtk-3.so.0 (libc6,x86-64) => /usr/lib/libgtk-3.so.0 Interesting. I expected a subdirectory of lib. > root@qemux86-64:~# python3 > > >>> from ctypes.util import find_library > >>> find_library('gtk-3') > > 'libgtk-3.so.0' Thanks. That is a nice test case. > For the case that ldconfig is NOT in DISTRO_FEATURES, gtk+3 can be found. > After commit "python3-ctypes: depend on ldconfig only if distro-feature set" > is merged, > > ldconfig is not installed, so ctypes.util.find_library cannot found gtk+3. Yes, this was the contradiction: Even through you removed ldconfig from DISTRO_FEATURES, it got pulled in. I could not remove ldconfig (even through our system with python works fine without it). Kind regards, Jörg -- Navimatix GmbH T: 03641 - 327 99 0 Tatzendpromenade 2 F: 03641 - 526 306 07745 Jena www.navimatix.de Geschäftsführer: Steffen Späthe, Jan Rommeley Registergericht: Amtsgericht Jena, HRB 501480
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#211863): https://lists.openembedded.org/g/openembedded-core/message/211863 Mute This Topic: https://lists.openembedded.org/mt/111283758/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-