Re: Problems adding C Extentions - Mailing list pgsql-cygwin

From Oliver Vecernik
Subject Re: Problems adding C Extentions
Date
Msg-id 3E376D56.4070506@aon.at
Whole thread Raw
In response to Problems adding C Extentions  (DDonnelly@rochgrp.com)
List pgsql-cygwin
DDonnelly@rochgrp.com schrieb:

>I am moving a Postgres application from Linux to Cygwin.  The application
>has some Postgres extensions built in C.  I get a clean compile and load,
>but when I go to load the functions into Postgres I get a load error.  I
>would appreciate any guidance.  Here is the code and error message:
>
>create function RealPct(int4, int4) returns float8
>        as '/home/ddonn/stc/model/stcdemo/STCModel.so' language 'c'
>with(isStrict);
>ERROR:  Load of file /home/ddonn/stc/model/stcdemo/STCModel.so failed:
>dlopen: Win32 error 3221225622
>
Doesn't windows need *.dll files instead of *.so?

Oliver

--
VECERNIK Datenerfassungssysteme
A-2560 Hernstein, Hofkogelgasse 17
Tel.: +43 2633 47530, Fax: DW 50
http://members.aon.at/vecernik




pgsql-cygwin by date:

Previous
From: "Norman Vine"
Date:
Subject: Re: Problems adding C Extentions
Next
From: Jason Tishler
Date:
Subject: Re: Plperl, createlang fails