Re: Testing for a shared library - Mailing list pgsql-hackers

From Dave Page
Subject Re: Testing for a shared library
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9EFD@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Testing for a shared library  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: Testing for a shared library
List pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of
> Christopher Kings-Lynne
> Sent: 07 September 2005 09:03
> To: PostgreSQL-development
> Subject: [HACKERS] Testing for a shared library
>
> Hi,
>
> Is there any way of checking to see if a particular shared library is
> installed?
>
> eg. select is_shared_library('$libdir/tsearch2');

How well do you know the library you are looking for? You could just try
creating a function from it and seeing if it fails.

Regards, Dave.


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Testing for a shared library
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Testing for a shared library