and the outcome is this:#!/usr/bin/perl use warnings; use diagnostics; use Device::USB; $usb = Device::USB->new(); print "1\n";
my perl -d:Trace give me this:Segmentation fault (core dumped)
i honestly don't know what's wrong, i can't figure it out, i don't have the slightest clue. libusb1.0 and devel are installed and when the program misses the line:>> (eval 7)[/usr/local/share/perl5/Inline.pm:199]:4: $INIT++; >> (eval 7)[/usr/local/share/perl5/Inline.pm:199]:5: &init; >> /usr/local/share/perl5/Inline.pm:209: local ($/, $") = ("\n", ' + '); local ($\, $,); >> /usr/local/share/perl5/Inline.pm:209: local ($/, $") = ("\n", ' + '); local ($\, $,); >> /usr/local/share/perl5/Inline.pm:211: while (my $o = shift(@DAT +A_OBJS)) { >> main.pl:7: $usb = Device::USB->new(); >> /root/perl5/lib/perl5/i386-linux-thread-multi/Device/USB.pm:187: + my $class = shift; >> /root/perl5/lib/perl5/i386-linux-thread-multi/Device/USB.pm:189: + $init_ref->(); >> /root/perl5/lib/perl5/i386-linux-thread-multi/Device/USB.pm:175: + libusb_init();
gives "1" as an outcome. Any help would be appreciated. Or some guide that could give me some guidance...$usb = Device::USB->new();
In reply to Device::USB and core dumped by Arien0611
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |