From: | "Norman Vine" <nhv(at)cape(dot)com> |
---|---|
To: | <DDonnelly(at)rochgrp(dot)com>, <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | Re: Problems adding C Extentions |
Date: | 2003-01-29 05:33:02 |
Message-ID: | 110401c2c757$e580c960$3d36ba8c@sfdev3 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
DDonnelly(at)rochgrp(dot)com writes:
> 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
Make sure you have the following in your Makefile
override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS)
HTH
Norman
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Vecernik | 2003-01-29 05:57:42 | Re: Problems adding C Extentions |
Previous Message | DDonnelly | 2003-01-28 20:52:29 | Problems adding C Extentions |