Upgrade failed because of 'DBD::Pg' and 'Mojo::Pg' : install libpq-dev
Hi, I try to update to the last version. But this issue appears :
/var/www/html/lufi# carton install Installing modules using /var/www/html/lufi/cpanfile Successfully installed Mojolicious-7.36 (upgraded from 6.62) Successfully installed Mojolicious-Plugin-PgURLHelper-0.03 Successfully installed MRO-Compat-0.13 Successfully installed Clone-0.39 Successfully installed Hash-Merge-0.200 Successfully installed Module-Runtime-0.015 Successfully installed Sub-Quote-2.004000 Successfully installed Role-Tiny-2.000005 Successfully installed Sub-Exporter-Progressive-0.001013 Successfully installed Devel-GlobalDestruction-0.14 Successfully installed Class-Method-Modifiers-2.12 Successfully installed Moo-2.003002 Successfully installed SQL-Abstract-1.84 ! Configure failed for DBD-Pg-3.6.2. See /root/.cpanm/work/1505747893.5377/build.log for details. ! Installing the dependencies failed: Module 'DBD::Pg' is not installed ! Bailing out the installation for Mojo-Pg-4.0. Successfully installed Try-Tiny-0.28 Successfully installed Test-Fatal-0.014 Successfully installed Crypt-SaltedHash-0.09 ! Installing the dependencies failed: Module 'Mojo::Pg' is not installed ! Bailing out the installation for /var/www/html/lufi/. 16 distributions installed Installing modules failed
How can I fix this ? Thank you