Re: Problems adding C Extentions

From: Oliver Vecernik <vecernik(at)aon(dot)at>
To: DDonnelly(at)rochgrp(dot)com
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Problems adding C Extentions
Date: 2003-01-29 05:57:42
Message-ID: 3E376D56.4070506@aon.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

DDonnelly(at)rochgrp(dot)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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Cheah Ai Meng 2003-01-29 10:01:06 Initializing PostgreSQL falied
Previous Message Norman Vine 2003-01-29 05:33:02 Re: Problems adding C Extentions