Martin Gansser wrote on 2022/01/28 21:19:
Hi, vdr plugin vdr-epg2vdr prints the following message to the log file [1]: vdr[30484]: [30484] loading plugin: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7 vdr[30484]: [30484] ERROR: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7: undefined symbol: PyObject_Repr runvdr[30484]: vdr: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7: undefined symbol: PyObject_Repr the reason is, that libpython3.10.so.1.0 isn't linked when building this plugin [2] on my local computer, all is fine, the missing pyhton lib is linked. $ ldd /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7 linux-vdso.so.1 (0x00007fff4c79b000) libm.so.6 => /lib64/libm.so.6 (0x00007ff1caaa5000) libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007ff1ca7b7000) libuuid.so.1 => /lib64/libuuid.so.1 (0x00007ff1ca7ae000) libtinyxml2.so.7 => /lib64/libtinyxml2.so.7 (0x00007ff1ca796000) libmariadb.so.3 => /lib64/libmariadb.so.3 (0x00007ff1ca740000) ==>>>> libpython3.10.so.1.0 => /lib64/libpython3.10.so.1.0 (0x00007ff1ca3ee000) <<<<== libjansson.so.4 => /lib64/libjansson.so.4 (0x00007ff1ca3dc000) libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007ff1ca1bd000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff1ca1a2000) libc.so.6 => /lib64/libc.so.6 (0x00007ff1c9f98000) /lib64/ld-linux-x86-64.so.2 (0x00007ff1cac40000) libz.so.1 => /lib64/libz.so.1 (0x00007ff1c9f7e000) libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007ff1c9ee1000) how can i solve this ? [1] https://bugzilla.redhat.com/show_bug.cgi?id=2047493 [2] https://src.fedoraproject.org/rpms/vdr-epg2vdr/blob/rawhide/f/vdr-epg2vdr.spec Regards Martin
https://koji.fedoraproject.org/koji/buildinfo?buildID=1872504 https://kojipkgs.fedoraproject.org//packages/vdr-epg2vdr/1.2.5/1.fc35/data/logs/x86_64/build.log build log contains "make: python: No such file or directory" - maybe this is related. Maybe build script searches no-versioned "python", which may exist on your local computer when python-unversioned-command rpm is installed. On koji build, you may have to use "python3" explicitly somehow. Regards, Mamoru _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure