[Mono-list] Pooling=false in connectionString cause Unhandled Exception: System.EntryPointNotFoundException: CreateSemaphore

Robert Jordan robertj at gmx.net
Sun Aug 26 18:52:31 EDT 2007


Hi,

Copy the attached "build.sh" into the "Driver" folder of the
mysql package and execute it. Then pick the assemblies from
Driver/mono/bin/2.0/.

The assembly is not signed, so you won't be able to install it
into the GAC.

Robert


enzo wrote:
> I downloaded the dll from MYDAC 
> mysql-connector-net-1.0.10.1-noinstall.zip file.
> It seems tat there is no package specific for mono on the MYDAC site.
> 
> I also tried to compile the source ( from file: 
> mysql-connector-net-1.0.10.1-src.zip ) but I failed, I didn't know how 
> compile it so i tried to guess.
> I have tried with nant but I get some errors, see belowe:
> 
> [enzo at enzo6 mysql-connector-net-1.0.10.1-src]$ nant -buildfile:Package.build
> NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
> Copyright (C) 2001-2006 Gerry Shaw
> http://nant.sourceforge.net
> 
> Buildfile: 
> file:///usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/Package.build
> Target framework: Mono 2.0 Profile
> Target(s) specified: all
> 
>      [echo] 08/26/2007 23:10:13
>    [delete] Deleting directory 
> '/usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/packages'.
>     [mkdir] Creating directory 
> '/usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/packages'.
> 
> BUILD FAILED
> 
> /usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/Package.build(21,3):
> Function call failed.
> Expression: 
> ${assemblyname::get-version(assemblyname::get-assembly-name('mysqlclient/bin/net-1.1/release/mysql.data.dll'))}
>                                         
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     Could not load file or assembly 
> '/usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/mysqlclient/bin/net-1.1/release/mysql.data.dll' 
> or one of its dependencies. The system cannot find the file specified.
> 
> Total time: 0.4 seconds.
> 
> 
> Is this the right way to compile the source  ?
> If not can you tell me  how do it ( i didn't found a tutorial on that ) ?
> 
> Regards, and thanks for your help, Enzo
> 
> Robert Jordan wrote:
>> It seems that you're using the Windows version of the mysql
>> client. Pity, in the past the versions were compatible.
>>
>> Try to get a version compiled for Mono.
>>
>> Robert
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build.sh
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20070827/b3311a32/attachment.pl 


More information about the Mono-list mailing list