Build Postgres On AIX - Mailing list pgsql-general

From Mark Hill
Subject Build Postgres On AIX
Date
Msg-id BN8PR05MB665774158D5EA74781A8266AEEDC9@BN8PR05MB6657.namprd05.prod.outlook.com
Whole thread Raw
Responses Re: Build Postgres On AIX
List pgsql-general

Hi All,


First time poster so I hope this is the appropriate group in which to ask this question.   Please redirect me as needed.

I’m building Postgres 14.2 on AIX.   Apparently the arc4random function is not available in the AIX system libraries.  The build
fails when it tries to build postgresql-14.2/contrib/uuid-ossp/uuid-ossp.c because of the use of arc4random in that source

file.

I can build the uuid source from www.ossp.org and then link against those libraries and the build succeeds but is there any other

way to get uuid-ossp.c to compile and link without using a 3rd party lib?  

Thanks, Mark

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: The use of partial, expressional indices in pg < 14
Next
From: Tom Lane
Date:
Subject: Re: Build Postgres On AIX