Re: Extension rpath issues on MacOS

2022-09-16 Thread Christophe Pettus
> On Sep 16, 2022, at 14:20, Tom Lane wrote: > IOW: I think they want you to get that from macports or homebrew instead. > It certainly works a lot easier if you do. Yeah, I installed openjdk8 using MacPorts, but it puts its stuff in a rather idiosyncratic location. I guess it's "create-a-sy

Re: Extension rpath issues on MacOS

2022-09-16 Thread Tom Lane
Christophe Pettus writes: > Has anyone encountered this situation (not libjvm in particular, just an > external library using @rpath) during an extension build? Yeah ... IIRC, I've hit that from trying to use the Apple-supplied libpython to underlie PL/Python. I've not found a workaround. I su

Extension rpath issues on MacOS

2022-09-16 Thread Christophe Pettus
I'm attempting to build the pgspider JDBC foreign data wrapper on MacOS, and not having an enormously successful time. The driver source is at: https://github.com/pgspider/jdbc_fdw It (unsurprisingly) needs to link with libjvm.dylib, so I've included the path to it in the PostgreSQL ./