Re: [Mono-dev] npgsql error on Mono
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Audette wrote: Hi, Hi, Joe! Just a follow up. My best guess conclusion is that something is funky in the packaging of pgsql under opensuse 10.3 I resurrected a copy of my vm from before I upgraded to opensuse 10.3 to get back to opensuse 10.2, then getting latest mono built from svn it works as expected. Great!! Nice to know you got it working. Well, I think your problem is very strange even because from windows you got it working and when connecting from linux it doesn't... Please, if you have opportunity, try to install opensuse from scratch and see if the problem still occurs. Thanks, Thank you too. 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 iQEVAwUBR1LEvv7iFmsNzeXfAQJC5wgAl+Up1kpeg6XSLDU1x3GrxCi460FTJ1mP D9HrBAaxawdG4Uwe5i4bycAS82QS7D1IHpNJ3Kx/OsYRRXdpqYDj4Lseeu1DYv4y N4nZlL7riLqy2LsPydnUGv5eTlM+n53hJGjjzeBYadSybLF8pesA7lp0XCkbMbJx ZTR8CPGUngPNf+r0Ndm78FXuHp+gF7j2VMPHp7xJG4rbaITCYhS9Gap8oSz4+5YE HUICchVxXLzMKEZd3oAYpB4wy4VOAILtuyh09x/j1qV2MKHKrNQlMLj6VZ0Oe0ZF 3vheripRT3wTqLnBmDvNqeho1PWMayCApuAo9wklTLLnthmpmxcDrw== =W/De -END PGP SIGNATURE- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] npgsql error on Mono
Hi, Just a follow up. My best guess conclusion is that something is funky in the packaging of pgsql under opensuse 10.3 I resurrected a copy of my vm from before I upgraded to opensuse 10.3 to get back to opensuse 10.2, then getting latest mono built from svn it works as expected. Thanks, Joe On Nov 18, 2007 6:35 PM, Francisco Figueiredo Jr. [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Audette wrote: Hi Francisco, Hi, Joe! Thanks for the response. You are welcome! Did you try to execute your command with psql on console? Well its in my web app so I don't have an easy way to run it from the command line. Ok. Can you try to run the command which is giving problem from command line on psql on gnu/linux? It is very odd that you can execute from windows with no errors and from gnu/linux don't. Yes thats why it seems like a Mono issue. But even so, I don't think Mono would be the problem here. Did you try to use your application with Mono on windows? Or were you already doing that? I assumed you were using ms.net on windows. Also, this error indicate some problem loading an internal postgresql library which gives support for plpgsql server side language. I never saw this error. Do you have more than one postgresql installed? I don't think so. I'm using a VM under VMWare and installed pgsql from Yast. The machine was upgraded from open sues 10.2 to 10.3 but after the initial upgrade it was working fine and only recently after updating Mono from svn this error started appearing. The file that it says it can't load does exist and as I say runnig the same web code on windows and using the very same pgsql database on the vm there is no error at all. Strange... Can you try the following: ldd /usr/lib/postgresql/plpgsql.so and see if the output gives you any not found on the libraries? Mine gives me that: ldd ~/Apps/postgresql-8.3beta1/lib/plpgsql.so linux-gate.so.1 = (0xe000) libc.so.6 = /lib/libc.so.6 (0xb7e73000) /lib/ld-linux.so.2 (0x8000) Sorry, Joe for not being very much helpful here... If I have any other idea I will let you know. 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 iQEVAwUBR0DMUf7iFmsNzeXfAQLNjAf/TbN/6AziSIQWynElrsz6x+/HI2vxth+7 VEA/3FSuIgEkXK0C/2SaxiNezQlpCotXGeCzczn/ctan7I8DQbFH2seImnogVkGu 5PzZjifqkjo6qHUP5rSgXOtEETzzZmpzBPKwlzVm+/GG3ZKCyCFTH9urMBnzwEWr s2I+EM9OJub+3Oer9U4gORiQoBPlLGOsKOmVt5+v4lHmeiMPIpvjv/4U2X5iLB46 STAq7RLC8J6N/tmsXVxYDoY6auDstfD+mE0kLZNepnXsBZ8wcYRCDYg2cVIZdehk phMNuhXtDWp1zCuzbn7MLVbwCByu1fbhZc346f8z7VutZEmzQVYN3A== =aKr9 -END PGP SIGNATURE- -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] npgsql error on Mono
Hi Francisco, Thanks for the response. Did you try to execute your command with psql on console? Well its in my web app so I don't have an easy way to run it from the command line. It is very odd that you can execute from windows with no errors and from gnu/linux don't. Yes thats why it seems like a Mono issue. Also, this error indicate some problem loading an internal postgresql library which gives support for plpgsql server side language. I never saw this error. Do you have more than one postgresql installed? I don't think so. I'm using a VM under VMWare and installed pgsql from Yast. The machine was upgraded from open sues 10.2 to 10.3 but after the initial upgrade it was working fine and only recently after updating Mono from svn this error started appearing. The file that it says it can't load does exist and as I say runnig the same web code on windows and using the very same pgsql database on the vm there is no error at all. Npgsql.NpgsqlException: could not load library /usr/lib/postgresql/plpgsql.so: /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Severity: ERROR Code: 58P01 at Npgsql.NpgsqlConnector.CheckErrors () [0x0] at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x0] at Npgsql.NpgsqlCommand.ExecuteCommand () [0x0] at Npgsql.NpgsqlCommand.ExecuteScalar () [0x0] at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteScalar () at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (Npgsql.NpgsqlConnection connection, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String connectionString, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid, DateTime lastUpdate) [0x0] at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x0] at mojoPortal.Web.Global.Application_EndRequest (System.Object sender, System.EventArgs e) [0x0] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at System.Web.HttpApplication.PipelineDone () [0x0] Best, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] npgsql error on Mono
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Audette wrote: Hi Francisco, Hi, Joe! Thanks for the response. You are welcome! Did you try to execute your command with psql on console? Well its in my web app so I don't have an easy way to run it from the command line. Ok. Can you try to run the command which is giving problem from command line on psql on gnu/linux? It is very odd that you can execute from windows with no errors and from gnu/linux don't. Yes thats why it seems like a Mono issue. But even so, I don't think Mono would be the problem here. Did you try to use your application with Mono on windows? Or were you already doing that? I assumed you were using ms.net on windows. Also, this error indicate some problem loading an internal postgresql library which gives support for plpgsql server side language. I never saw this error. Do you have more than one postgresql installed? I don't think so. I'm using a VM under VMWare and installed pgsql from Yast. The machine was upgraded from open sues 10.2 to 10.3 but after the initial upgrade it was working fine and only recently after updating Mono from svn this error started appearing. The file that it says it can't load does exist and as I say runnig the same web code on windows and using the very same pgsql database on the vm there is no error at all. Strange... Can you try the following: ldd /usr/lib/postgresql/plpgsql.so and see if the output gives you any not found on the libraries? Mine gives me that: ldd ~/Apps/postgresql-8.3beta1/lib/plpgsql.so linux-gate.so.1 = (0xe000) libc.so.6 = /lib/libc.so.6 (0xb7e73000) /lib/ld-linux.so.2 (0x8000) Sorry, Joe for not being very much helpful here... If I have any other idea I will let you know. 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 iQEVAwUBR0DMUf7iFmsNzeXfAQLNjAf/TbN/6AziSIQWynElrsz6x+/HI2vxth+7 VEA/3FSuIgEkXK0C/2SaxiNezQlpCotXGeCzczn/ctan7I8DQbFH2seImnogVkGu 5PzZjifqkjo6qHUP5rSgXOtEETzzZmpzBPKwlzVm+/GG3ZKCyCFTH9urMBnzwEWr s2I+EM9OJub+3Oer9U4gORiQoBPlLGOsKOmVt5+v4lHmeiMPIpvjv/4U2X5iLB46 STAq7RLC8J6N/tmsXVxYDoY6auDstfD+mE0kLZNepnXsBZ8wcYRCDYg2cVIZdehk phMNuhXtDWp1zCuzbn7MLVbwCByu1fbhZc346f8z7VutZEmzQVYN3A== =aKr9 -END PGP SIGNATURE- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] npgsql error on Mono
Hi All, Using Open Suse 10.3 and mono built from svn r89680 and mojoPortal svn trunk I'm getting an error: ERROR: 58P01: could not load library /usr/lib/postgresql/plpgsql.so: /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Description: Error processing request. Error Message: HTTP 500. Npgsql.NpgsqlException: ERROR: 58P01: could not load library /usr/lib/postgresql/plpgsql.so: /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Stack Trace: Npgsql.NpgsqlException: could not load library /usr/lib/postgresql/plpgsql.so: /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Severity: ERROR Code: 58P01 at Npgsql.NpgsqlConnector.CheckErrors () [0x0] at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x0] at Npgsql.NpgsqlCommand.ExecuteCommand () [0x0] at Npgsql.NpgsqlCommand.ExecuteScalar () [0x0] at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteScalar () at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (Npgsql.NpgsqlConnection connection, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String connectionString, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid, DateTime lastUpdate) [0x0] at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x0] at mojoPortal.Web.Global.Application_EndRequest (System.Object sender, System.EventArgs e) [0x0] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at System.Web.HttpApplication.PipelineDone () [0x0] Using the same code and hitting the same db from windows works with no error. I'm using the 1.0 source code for npgsql and it was working fine a few weeks ago. Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] npgsql error on Mono
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Audette wrote: Hi All, Hi, Joe! Did you try to execute your command with psql on console? It is very odd that you can execute from windows with no errors and from gnu/linux don't. Also, this error indicate some problem loading an internal postgresql library which gives support for plpgsql server side language. I never saw this error. Do you have more than one postgresql installed? Sorry for not being very much helpful here... 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 iQEVAwUBRz8k9/7iFmsNzeXfAQIK7Af/U7Cnu2rgzuggNbnRnbcwsnlsbW4tiA6e VjwY4CXkAKs8+BPYof6rv2HsSYJc8j3PcgiOBBcoga7NL4E1ycIaPE6x7/GOAALF Xyv1vrX0wnfF3RLvVLxDpeTGpyNAMLaqy4+NpCog3QPv4mj75sj8Smf65G8v8Y5L mln3nDK4jWQlhgDpz1yGeLPhORpMKelsMKi/mmS7MgNHmHUWa5vwLsAu0MdIyZm/ dayop+Ij6YcW0kvGfNq4dXNSeZ++Z5/v1m+pVhUMctjUpq0KXwUTo0Mib7P3M00v Sdaj6+qAMq4uTA7PrtlPzqMByeTbiYKPzgm1U4EfeiHKzSuQTRWzog== =n8jC -END PGP SIGNATURE- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list