[Mono-dev] npgsql error on Mono

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Sun Nov 18 18:35:45 EST 2007

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 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e73000)
        /lib/ld-linux.so.2 (0x80000000)

Sorry, Joe for not being very much helpful here...

If I have any other idea I will let you know.


Francisco Figueiredo Jr.
Npgsql Lead Developer
Mono Project Contributor
MonoBrasil Project Founder Member

- --
 - 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"
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Mono-devel-list mailing list