UUID RFC 4122 Version 1 lazarus / 66-Unix ---------------------------------------------------------------------- CSKir · 2023-10-09 08:07 Hello, External web service requires message GUIDs to be generated using RFC 4122 Version 1. I tried to use libuuid.pp (this module uses libuuid.so.1 and uuid_generate_time) and macuuid.pp. According to the service, both GUIDs are incompatible with RFC 4122 Version 1. Do Lazarus, Free Pascal or Linux (.so-library with appropriate procedure) have ways to generate rigorous RFC 4122 Version 1 GUID? Sorry, if I posted in the wrong section. Thank you in advance for your help. ---------------------------------------------------------------------- CSKir · 2023-10-16 17:22 I have found a shared library uuid-ossp.so inside postgresql-contrib package that could have helped me. ldd uuid-ossp.so shows that all dependencies are resolved. libossp-uuid.so.16 is present. nm -D uuid- ossp.so shows a lot of undefined symbols: uuid_in, uuid_out, ... They are also absent in libossp-uuid.so.16. So, LoadLibrary doesn't work for uuid-ossp.so. What particular version of libossp-uuid.so.16 is required for Postgresql shared library uuid-ossp.so to work? ---------------------------------------------------------------------- af0815 · 2023-10-17 05:00 Is uuid.pas in fpcsrc/packages/hash/src not working for you ? ---------------------------------------------------------------------- CSKir · 2023-10-17 14:39 Thank you very much. Seems, it is really RFC 4122 version 1. As soon as I get an access to the web service, I'll check it. ---------------------------------------------------------------------- CSKir · 2023-10-21 09:50 Thanks again. The web service accepted the message. The issue is resolved.