Awesome - thanks Tom, works.
alan
> On Dec 12, 2014, at 1:06 PM, Tom Lane wrote:
>
> Alan Nilsson writes:
>> I am trying to link libuuid into a custom extension, here is my make file
>> (building PG 9.3.5 on CentOS 6.5 (GCC 4.4.7) fwiw):
>
>> MODULES = aitpowerpg
>> EXTENSION = aitpowerpg
>>
Alan Nilsson writes:
> I am trying to link libuuid into a custom extension, here is my make file
> (building PG 9.3.5 on CentOS 6.5 (GCC 4.4.7) fwiw):
> MODULES = aitpowerpg
> EXTENSION = aitpowerpg
> DATA = aitpowerpg--1.0.sql
> SHLIB_LINK += -luuid
> ifdef USE_PGXS
> PG_CONFIG = pg_config
>
I recently had need to do the same thing and I am having no luck. Admittedly,
I am not too keen on the postgres build setup and have not debugged this
extensively, but rather hoped there was an easy answer up front. That said….
I am trying to link libuuid into a custom extension, here is my ma
On 6/6/13 11:49 PM, Rad Cirskis wrote:
> Hi John,
> have you managed to get it to link with external shared libs?
Sure, many extensions to that. Do something like
SHLIB_LINK += -lfoo
in your Makefile.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to y
A typo on my part in my posting. My Makefile has:
SHLIB_LINK = -lgsl -lgslcblas
Regards
John
Quoting Martijn van Oosterhout <[EMAIL PROTECTED]>:
> On Mon, May 19, 2008 at 06:23:03PM +0100, [EMAIL PROTECTED] wrote:
> > Thanks for the reply. My GSL libraries, 'libgsl' and 'libgslcblas', are in
On Mon, May 19, 2008 at 06:23:03PM +0100, [EMAIL PROTECTED] wrote:
> Thanks for the reply. My GSL libraries, 'libgsl' and 'libgslcblas', are in the
I saw that and then in your previous message:
> > > PG_CPPFLAGS = -lgsl -lgslcblas
> > > PG_LIBS = -lgsl -gslcblas
> > > SHLIB_LINK = -lgsl -gslcblas
Tom
Thanks for the reply. My GSL libraries, 'libgsl' and 'libgslcblas', are in the
/usr/lib directory as GSL and the GSL development files were installed via
Fedora 8 RPM's. I'm a relative newbie to programming, so I thought the -L
switch is only required to add a non-standard library location to
[EMAIL PROTECTED] writes:
> My functions compile fine using PGXS, but don't link against the GSL
> libraries.
> How do I specify the GSL libraries as external libraries to link against in
> the
> PGXS Makfile? I have tried the following which don't work:
> PG_CPPFLAGS = -lgsl -lgslcblas
> PG_LIB