[Mono-list] IBM.Data.DB2 on ubuntu

Bartolomeo Nicolotti bnicolotti at siapcn.it
Tue Feb 10 12:20:23 EST 2009


Hi,

I've installed mono, and xsp (not yet mod_mono) following the instruction
here:

http://ubuntuforums.org/showthread.php?t=803743

in view of using mod_mono together with php on ubuntu server 8.04.

This is to migrate a web service that access a db2 database.

I've also installed db2exc from ubuntu repository as said here:

http://www.ubuntu.com/partners/ibm/db2

and as said here:

http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg02323.html

I've added the library path with the command:

sudo /sbin/ldconfig /opt/ibm/db2exc/V9.5/lib32

But if I try to compile a file that makes use of the namespace IBM.Data.DB2
I got:

siap at LxPC54:~/src/test$ gmcs helloDB2.cs 
helloDB2.cs(2,14): error CS0234: The type or namespace name `Data' does not
exist in the namespace `System'. Are you missing an assembly reference?
helloDB2.cs(3,7): error CS0246: The type or namespace name `IBM' could not
be found. Are you missing a using directive or an assembly reference?
Compilation failed: 2 error(s), 0 warnings


could someone help me?

Many thanks 

Best regards
-- 
View this message in context: http://www.nabble.com/IBM.Data.DB2-on-ubuntu-tp21937603p21937603.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list