I am new to
mono/.Net and have been lurking on the list for sometime; I finally found
some time to install mono and try it out.
I got mysql working
with mono using the included classes (Mono.Data.Mysql) but I had to do some odd
things.
To get it to compile
correctly on Linux I had to add a link from /usr/lib/libmysqlclient.so to
/usr/lib/libmySQL.so e.g.:
ln -s
libmysqlclient.so libmySQL.so
Question 1: Is this
just an oddity from my installation (I am running Redhat 7.3/mono rpm version)
or is this normal?
then I had to
compile it with the commandline:
mcs file.cs -r
System.Data.dll -r Mono.Data.MySql.dll
Question 2: Is it
possible to specify in a file somewhere the location of the libraries so that I
don't need to use the -r parameters everytime I compile?
On windows (I used
the windows installer) I had some difficulties getting it to compile until I
used the following command line:
monomcs file.cs -L
c:\mono-0.17\install -r System.Data.dll -r
Mono.Data.MySql.dll
Question 3: Is it
possible to specify the library (-L) somewhere in a file so that it does not
need to be passed everytime I compile?
Question 4: I am
planning on doing some work/testing with Mysql using Mono and was wondering
which product/component should I use to report/query bugs? There are a
couple of different options; none seem to fit exactly.
Thanks for any help
anyone can provide. I hope to provide more help and less lurking in the
future.
Cheers,
Steven
Balthazor
