Then on a blog version was in Kylin Godson above installed postgresql10.10 but did not get uuid
Problem was encountered:
0. postgresql database only being given installation as shown:
I verified contrib postgresql installation disk mounted inside the uuid is no relevant documents but would not go into this directory
Extension the Create "uuid-OSSP"
> ERROR: could not Open File Extension Control "/usr/local/pgsql/share/extension/uuid-ossp.control": No such file or directory
> Time: 0.001s
Methods which perform operations contrib
/ PG10 / postgresql- 10.10 / copy contrib / uuid-oss the beginning of uuid inside the file to the directory above error
[root @ NeoKylin uuid-OSSP] # scp uuid-OSSP * / usr / local / pgSQL / report this content share / Extension / [root @ NeoKylin uuid - OSSP] # DATE 2019 Nian 09 Wednesday, 25 October 17 : 49 : 05 CST [root UUID @NeoKylin - OSSP] # pwd / PG10 / postgresql- 10.10 / contrib / UUID-OSSP
1. Kylin official wherein the installation file postgresql9.2 also rpm packages contirb
I try to use the rpm -ivh --nodeps --force found a way to install it is being given. Tip incorrect version.
When prompted to version 10.0, but when I postgresql contrib version 9.2, this method does not work.
2. find someone downloaded the tar package uuid-ossp csdn from which you wish to install the package through the tar off-line manner, but failed
But the feeling is a must work, will need to create some of the files in it so
3. installed inside the contrib postgresql-10.10, but there will be an error (this part I have not been resolved.)
This step is used to generate the feeling uuid-ossp.so file because an error can not be generated. We can only reuse Han high product inside the file.
4. file so no error as shown:
Extension the Create " uuid-OSSP " > ERROR: could not Access File " $ libdir / uuid-OSSP " : No such file or directory > Time: 0 .024s
5. find a solution by searching for:
https://stackoverflow.com/questions/6874164/postgresql-issue-could-not-access-file-libdir-plpgsql-no-such-file-or-direc
o find out what $libdir
is referring to, run the following command:
pg_config --pkglibdir
For me, this produces:
/usr/local/pgsql/lib
6. Han high installed inside a comprehensive search of the database:
Query results:
[root@neoky01 uuid-ossp]# find / -name "uuid-ossp.*" /opt/HighGoDB-4.3.4.5/lib/postgresql/uuid-ossp.so /opt/HighGoDB-4.3.4.5/share/postgresql/extension/uuid-ossp.control /pg10/postgresql-10.10/doc/src/sgml/html/uuid-ossp.html /pg10/postgresql-10.10/doc/src/sgml/uuid-ossp.sgml /pg10/postgresql-10.10/contrib/uuid-ossp/uuid-ossp.c /pg10/postgresql-10.10/contrib/uuid-ossp/uuid-ossp.control /usr/lib/postgresql/uuid-ossp.so /usr/lib64/pgsql/uuid-ossp.so / usr / local / pgSQL / lib / uuid- ossp.so / usr / local / pgSQL / Share / Extension / uuid- ossp.control / usr / Share / pgSQL / Extension / uuid- ossp.control Find: ' / RUN / the User / 1000 / gvfs': enough authority [root @ neoky01 uuid -ossp] #
7. Copy check out the file to check out the catalog fifth step on it.
8. I am here Desktop version also found a pit father thing seemingly no
/usr/lib64/libossp-uuid.so scp. 16.0 . 22 root @ 10.24 . 20.249 : / usr / lib64 this dll I have copied from the server version of a soft link past and it will only be otherwise error.