Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl-dbi: Can't load '/usr/lib/perl5/5.28/auto/DBI/DBI.so #24757

Open
freebyte opened this issue Aug 7, 2024 · 1 comment
Open

perl-dbi: Can't load '/usr/lib/perl5/5.28/auto/DBI/DBI.so #24757

freebyte opened this issue Aug 7, 2024 · 1 comment

Comments

@freebyte
Copy link

freebyte commented Aug 7, 2024

Issue template (remove lines from top till here)

Maintainer: @\neheb (https://github.com/openwrt/packages/tree/openwrt-22.03/lang/perl-dbi)
Environment:

Linux OpenWrt 5.15.150 #0 SMP Fri Mar 22 22:09:42 2024 aarch64 GNU/Linux
OpenWRT version: 23.05.3 r23809-234f1a2efa

Description:

Running:

cat dbread.pl 
#!/usr/bin/perl
use strict;
use DBI;

results in

Can't load '/usr/lib/perl5/5.28/auto/DBI/DBI.so' for module DBI: Error relocating /usr/lib/perl5/5.28/auto/DBI/DBI.so: Perl_croak_nocontext: symbol not found at /usr/lib/perl5/5.28/DynaLoader.pm line 159.
 at /usr/lib/perl5/5.28/DBI.pm line 119.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28/DBI.pm line 119.
Compilation failed in require at dbread.pl line 3.
BEGIN failed--compilation aborted at dbread.pl line 3.

Any way to fix that?

@esaaprillia
Copy link
Contributor

esaaprillia commented Aug 8, 2024

opkg install perl-dbi

root@OpenWrt:~# perl
use strict;
use DBI;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants