[Mono-dev] npgsql error on Mono

Joe Audette joe.audette at gmail.com
Sat Nov 17 11:38:37 EST 2007


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 () [0x00000]
  at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x00000]
  at Npgsql.NpgsqlCommand.ExecuteCommand () [0x00000]
  at Npgsql.NpgsqlCommand.ExecuteScalar () [0x00000]
  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)
[0x00000]
  at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String
connectionString, CommandType commandType, System.String commandText,
Npgsql.NpgsqlParameter[] commandParameters) [0x00000]
  at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid,
DateTime lastUpdate) [0x00000]
  at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x00000]
  at mojoPortal.Web.Global.Application_EndRequest (System.Object
sender, System.EventArgs e) [0x00000]
  at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
  at System.Web.HttpApplication.PipelineDone () [0x00000]

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
joe.audette at gmail.com
http://www.sourcetreesolutions.com
http://www.mojoportal.com



More information about the Mono-devel-list mailing list