[GENERAL] pgxs question - linking c-functions to external libraries

2008-05-19 Thread johnduffy
Hi I have written a number of C-Function which compile and link against the GNU Scientific Library libraries 'libgsl' and 'libgslcblas' when using a hand written Makefile, but I would like to use PGXS. My functions compile fine using PGXS, but don't link against the GSL libraries. How do I specif

Re: [GENERAL] pgxs question - linking c-functions to external libraries

2008-05-19 Thread johnduffy
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

Re: [GENERAL] pgxs question - linking c-functions to external libraries

2008-05-20 Thread johnduffy
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