[Mono-dev] The mcs can not find NpgsqlConnection in Npgsql
Francisco Figueiredo Jr.
fxjrlists at yahoo.com.br
Sat Nov 17 09:59:21 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bookman bookman wrote:
> Hi ,
>
Hi!
Npgsql2 is for .net 2.0 only. That's why you wasn't able to compile it
with mcs. Only use gmcs which uses the 2.0 runtime.
> I planed to port my asp.net project to Linux ,i chose ubuntu as
> server.These are the chosen platform:
>
> ubuntu7.10-GutsyGibbon
> mono-1.2.5.1
> mod_mono-1.2.5
> httpd-2.2.6
> postgres-8.2.5
> Npgsql2.0beta1-bin-mono2.0.tar.bz2
>
> The document root of the website is as follows:
>
> --myWeb
> --myWeb/bin
> --myWeb/bin/Npgsql.dll
> --myWeb/bin/Mono.Security.dll
> --myWeb/index.aspx
> --myWeb/index.aspx.cs #with no connection to postgre
> --myWeb/test.cs #with a connection to postgre
>
You don't need the Mono.Security.dll from Npgsql. It is already bundled
on Mono runtime itself. You just need it if you are using ms.net. I'm
seeing now that I packaged Npgsql Mono version incorrectly. Sorry for that.
> Surprisingly, it worked and I found test.exe. Then i ran it:
> $mono test.exe
> I found the error :
>
> Got a SIGSEGV while excuting native code .this is usall indicate a
> fatal error in the mono-runtime or one og the native libraries used by
> your application .
>
Strange....
It should have worked.
Can you try removing the Mono.Security.dll assembly and give it another try?
Regards,
Francisco Figueiredo Jr.
http://fxjr.blogspot.com
Npgsql Lead Developer
http://pgfoundry.org/projects/npgsql
Mono Project Contributor
http://www.go-mono.com
MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org
- --
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBRz8Byf7iFmsNzeXfAQJqJQf/S6gp5KnjEZtc5tnVcqB2LlJKVRiq/QIp
rxxg4B7InqfQwDzbiQf2HnuIq/iSLt2lpjoNyBuMEEYaLP/8cpic/DYhoqYd88BY
A5lJzS2f20KX+WKCnBh1DCuroOn2y+v5rxS3o3Jpzhx1m4dhZcflL0MBIlFDFOr6
BwDggs9weaD3dyovvuMqe+/lOQoAiUAbg1vQclxRhvShQ8m5+oka1VcDlg+Bal5i
U+uHS7Y9jNZO3+J6CdjR9dNKaDUaGrFzSxfzZSb4sJKnPu/M7F4Lk9SnHt+KK+Ft
GaGCWtCNXz3E+1cP7aiew2GKsQ1vZWbdhIaHc6WrT0FpkOUnOw/TbQ==
=RE3a
-----END PGP SIGNATURE-----
More information about the Mono-devel-list
mailing list