Products | Versions |
---|---|
TIBCO Cloud API Management - Local Edition | ML 5.5.0 |
tml-installer for CAPIM-LE 5.5 is not able to build tml-log image with the below error in the build log:
--------------
Building native extensions. This could take a while...
[91mERROR: Error installing fluent-plugin-postgres:
ERROR: Failed to build gem native extension.
current directory: /opt/td-agent/lib/ruby/gems/2.7.0/gems/pg-1.3.0/ext
/opt/td-agent/bin/ruby -I /opt/td-agent/lib/ruby/2.7.0 -r ./siteconf20220125-1311-1pdxmwy.rb extconf.rb
Calling libpq with GVL unlocked
checking for pg_config... yes
Using config values from /usr/bin/pg_config
Using libpq from /usr/lib64
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for pg_config_manual.h... yes
checking for PQconnectdb() in -lpq... yes
checking for PQconninfo()... no
Your PostgreSQL is too old. Either install an older version of this gem or upgrade your database to at least PostgreSQL-9.3.
extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
#Install pg-gem 1.2.3 to be compatible with postgres-devel 9.2 td-agent-gem install pg -v 1.2.3 # https://github.com/uken/fluent-plugin-postgres td-agent-gem install fluent-plugin-postgres -v 0.1.0