Forum > Unix
UUID RFC 4122 Version 1
(1/1)
CSKir:
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:
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:
Is uuid.pas in fpcsrc/packages/hash/src not working for you ?
CSKir:
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:
Thanks again. The web service accepted the message. The issue is resolved.
Navigation
[0] Message Index