[Mono-dev] npgsql error on Mono

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


-----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 =>  (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.


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-----



More information about the Mono-devel-list mailing list