![]() ![]() You need to check what SHAREDIR is set to with pg_config -sharedir. PostgreSQL will create the extension using details from the file SHAREDIR/extension/extension_ntrol. Is anybody else using this extension in postgres 10 on Linux?, if so, how did you create the extension? Googling again I found that maybe I need to give another option, so I ran CREATE EXTENSION pgcrypto FROM unpackaged thenĮRROR: function digest(text, text) does not existĪnd I'm stuck and without any idea what to do next. "ERROR: could not access file "$libdir/pgcrypto": No such file or directory" Googling I realized that I have to install postgres-contrib package, which I did and then restarted postgres service, but the error continues due to the fact that the extensions were installed into /usr/share/pgsql/extension, so I copied the extension files from they were installed to they were expected and then the first error I got was saying that the /usr/pgsql-10/share/extension/ntrol files does not exist. ![]() ![]() However, in my scripts I need to install pgcrypto extension and I haven't successfully install it. So I already installed (yum install postgresql10-server postgresql10 after adding the repos of course) and configured postgres 10. I'm in the process of creating a postgres database for production in CentOS 7. ![]()
0 Comments
Leave a Reply. |