Bug 2154693

Summary: libtnc: Perl module appears unusable
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: libtncAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-11 20:09:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Florian Weimer 2022-12-18 16:54:03 UTC
The Perl modules cannot be loaded because we build them with BIND_NOW, and they contain undefined symbols:

# perl -MInterface::TNC::IMC  
Can't load '/usr/lib64/perl5/vendor_perl/auto/Interface/TNC/IMC/IMC.so' for module Interface::TNC::IMC: /lib64/libtnc.so.0: undefined symbol: TNC_TNCC_SendBatch at /usr/share/perl5/XSLoader.pm line 94.
 at /usr/lib64/perl5/vendor_perl/Interface/TNC/IMC.pm line 128.
Compilation failed in require.
BEGIN failed--compilation aborted.
# perl -MInterface::TNC::IMV
Can't load '/usr/lib64/perl5/vendor_perl/auto/Interface/TNC/IMV/IMV.so' for module Interface::TNC::IMV: /lib64/libtnc.so.0: undefined symbol: TNC_TNCC_SendBatch at /usr/share/perl5/XSLoader.pm line 94.
 at /usr/lib64/perl5/vendor_perl/Interface/TNC/IMV.pm line 148.
Compilation failed in require.
BEGIN failed--compilation aborted.
# 

Seen with perl-Interface-TNC-1.0-34.fc37.x86_64.

Comment 1 Tom "spot" Callaway 2023-01-11 20:09:10 UTC
This is fixed in rawhide.