Re: Error building the EnterpriseDB mysql_fdw on OSX

Lists: pgsql-hackers
From: Kirk Roybal <kirk(at)webfinish(dot)com>
To: Pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Error building the EnterpriseDB mysql_fdw on OSX
Date: 2014-11-12 20:48:09
Message-ID: 4ed673daaf311b5b4de321cd69f08327@webfinish.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I'm running 10.9.5 of OSX.

I got the MySQL and PostgreSQL dependencies installed (I think).

Checked out the git repo for mysql_fdw from
git://github.com/EnterpriseDB/mysql_fdw

USE_PGXS=1 make

and got the error:

mysql_fdw.c
mysql_fdw.c:153:56: error: use of undeclared identifier 'RTLD_DEEPBIND'
mysql_dll_handle = dlopen(_MYSQL_LIBNAME, RTLD_LAZY | RTLD_DEEPBIND);

Is RTLD_DEEPBIND supported on OSX?

Did I do something wrong getting the dependencies together?

/Kirk

--
--
The best virus protection for Windows is fdisk, format, insert linux
disk.


From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: kirk(at)webfinish(dot)com
Cc: Pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Error building the EnterpriseDB mysql_fdw on OSX
Date: 2014-11-12 21:03:40
Message-ID: CA+TgmoZ=DcQZP7M=BHaAnbz4BuijJJ_SiNjnMro-_HBj2f1YjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, Nov 12, 2014 at 3:48 PM, Kirk Roybal <kirk(at)webfinish(dot)com> wrote:
> I'm running 10.9.5 of OSX.
>
> I got the MySQL and PostgreSQL dependencies installed (I think).
>
> Checked out the git repo for mysql_fdw from
> git://github.com/EnterpriseDB/mysql_fdw
>
> USE_PGXS=1 make
>
> and got the error:
>
> mysql_fdw.c
> mysql_fdw.c:153:56: error: use of undeclared identifier 'RTLD_DEEPBIND'
> mysql_dll_handle = dlopen(_MYSQL_LIBNAME, RTLD_LAZY |
> RTLD_DEEPBIND);
>
>
> Is RTLD_DEEPBIND supported on OSX?
>
> Did I do something wrong getting the dependencies together?

I don't know whether the folks who work on that FDW read this list
regularly, but they do keep an eye on issues opened in GitHub. So you
might want to open one there.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company