RT 5 - Can't use an undefined value as an ARRAY reference

Hi All,

I am trying to setup RT 5.0.0 on CentOS with PostgreSQL 12, but I am getting the following error:

(configure line: ./configure --with-db-type=Pg)

[root@ip-XXX-XX-XX-XXX rt-5.0.0]# make initialize-database
/bin/perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --action init --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your Pg instance on localhost (port ‘’) as postgres
Please specify that user’s database password below. If the user has no database
password, just press return.

Password:
Working with:
Type: Pg
Host: localhost
Port:
Name: rt5
User: rt_user
DBA: postgres
Now creating a Pg database rt5 for RT.
Done.
Now populating database schema.
Done.
Now inserting database ACLs.
Done.
Now inserting RT core system objects.
[2612] [Wed Sep 30 14:58:09 2020] [critical]: Can’t use an undefined value as an ARRAY reference at /usr/lib64/perl5/vendor_perl/DBD/Pg.pm line 533. (/tmp/rt-5.0.0/sbin/…/lib/RT.pm:409)
Can’t use an undefined value as an ARRAY reference at /usr/lib64/perl5/vendor_perl/DBD/Pg.pm line 533.
make: *** [initialize-database] Error 255

Any ideas what I am missing?

Thanks in advance.