AMC for Fedora 27

Added by Patrice Kadionik about 1 year ago

AMC version 1.3.0 for Fedora 27 is available in my eddy33's repository for 32 and 64 bit x86 architecture :

Installing AMC for Fedora 27 :

dnf install http://kadionik.vvv.enseirb-matmeca.fr/fedora/eddy33-release-27.rpm

dnf install auto-multiple-choice
dnf install evince libreoffice

P. Kadionik


Replies (6)

RE: AMC for Fedora 27 - Added by pedro vm about 1 year ago

Patrice Kadionik wrote:

AMC version 1.3.0 for Fedora 27 is available in my eddy33's repository for 32 and 64 bit x86 architecture :

Installing AMC for Fedora 27 :

[...]

P. Kadionik

Hi
There is an error on fedora 27 installation:

install_driver(SQLite) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/SQLite/SQLite.so' for module DBD::SQLite:libperl.so.5.22: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 193.
***   
***  ignoring at /usr/lib64/AMC/perl/AMC-gui.pl line 7074.
*** unhandled exception in callback:
***   install_driver(SQLite) failed: Attempt to reload DBD/SQLite.pm aborted.
***   Compilation failed in require at (eval 33) line 3.

and any attempt to read a project is broken.

P.V.

RE: AMC for Fedora 27 - Added by Patrice Kadionik about 1 year ago

Hi,

have you the perl-DBD-SQLite package installed?

# dnf install perl-DBD-SQLite

Pat

RE: AMC for Fedora 27 - Added by pedro vm about 1 year ago

Yes, I had installed the perl-DBD-SQLite module.
According to the code of DynaLoader.pm line 193 # Many dynamic extension loading problems will appear to come from # this section of code: XYZ failed at line 123 of DynaLoader.pm. # Often these errors are actually occurring in the initialisation # C code of the extension XS file. Perl reports the error as being # in this perl code simply because this was the last perl code # it executed.

my $flags = $module->dl_load_flags;
my $libref = dl_load_file($file, $flags) or
croak("Can't load '$file' for module $module: ".dl_error());

the error would be in the initialisation of C code ...

RE: AMC for Fedora 27 - Added by Patrice Kadionik about 1 year ago

OK.

My SQLite.so file is under /usr/lib64/perl5/vendor_perl/auto/DBD/SQLite/ directory and provided by the perl-DBD-SQLite package. And you?

The AMC GUI doesn't launch for you? Right? It's not a problem at the installation.

Your message "Can't load '/usr/local/lib64/perl5/auto/DBD/SQLite/SQLite.so" tells us to search for SQLite.so in another directory under /usr/local/lib64/... and not in /usr/lib64/...

I'm not a perl expert but your perl module is "libperl.so.5.22" in the error message and seems to be perl version 5.22.
I have at home just a PC with Fedora 25 and the perl version is for me 5.24.
I don't understand why you have a 5.22 version for Fedora 27. It should be at least 5.26 (perl-5.26.1-401.fc27.x86_64.rpm).

Have you installed perl by hand or with dnf? There is a mismatch with perl...

Pat

RE: AMC for Fedora 27 - Added by pedro vm about 1 year ago

Hi Pat

I have solved the problem removing and reinstalling perl. The problem was I had upgraded from fedora 24 to 27, and it seems some packages from FC24 were still installed after the upgrading. Briefing: If you get problems with AMC due to different perl versions during upgrading from FC2? to FC27, remove perl: dnf remove perl (it will remove auto-multiple-choice too, etc) and reinstall the deleted packages: dnf install perl auto-multiple-choice ...

Easy and effective.

Thank you Pat for pointing out the perl version problem.

Best

PV

RE: AMC for Fedora 27 - Added by Patrice Kadionik about 1 year ago

Hi.

OK. Good news.

With fedora, it's OK to upgrade from Fedora n to Fedora (n+1) with dnf but it's discouraged to upgrade with a bigger gap from Fedora n to Fedora (n+2), (n+3)...
Reinstall the latest version.
For me, I've never had problems to upgrade with a one gap from n to (n+1) and then from (n+1) to (n+2) and so on. But it may remain useless packages...

Cheers.
Pat

(1-6/6)