[Mono-list] System.DllNotFoundException, but dll is there.

Lecio tolecio at msn.com
Wed Oct 21 21:21:52 EDT 2009


### That is the last log created by .exe, the application works normal..
until the button "Init scanner" be clicked

see  attached file:  http://www.nabble.com/file/p26002699/logs.txt logs.txt 

### That is  the log after Button "Init scanner" clicked
###############################################
### The app shut down after the click  

Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
Mono-INFO: DllImport loading location: 'libX11.so.6.so'.
Mono-INFO: DllImport error loading library: 'libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libX11.so.6.so'.
Mono-INFO: DllImport error loading library './libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'libX11.so.6'.
Mono-INFO: Searching for 'XSetICFocus'.
Mono-INFO: Probing 'XSetICFocus'.
Mono-INFO: Found as 'XSetICFocus'.
Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
Mono-INFO: DllImport loading location: 'libX11.so.6.so'.
Mono-INFO: DllImport error loading library: 'libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libX11.so.6.so'.
Mono-INFO: DllImport error loading library './libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'libX11.so.6'.
Mono-INFO: Searching for 'XGrabPointer'.
Mono-INFO: Probing 'XGrabPointer'.
Mono-INFO: Found as 'XGrabPointer'.
Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
Mono-INFO: DllImport loading location: 'libX11.so.6.so'.
Mono-INFO: DllImport error loading library: 'libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libX11.so.6.so'.
Mono-INFO: DllImport error loading library './libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'libX11.so.6'.
Mono-INFO: Searching for 'XUngrabPointer'.
Mono-INFO: Probing 'XUngrabPointer'.
Mono-INFO: Found as 'XUngrabPointer'.
Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
Mono-INFO: DllImport loading location: 'libX11.so.6.so'.
Mono-INFO: DllImport error loading library: 'libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libX11.so.6.so'.
Mono-INFO: DllImport error loading library './libX11.so.6.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'libX11.so.6'.
Mono-INFO: Searching for 'XChangeActivePointerGrab'.
Mono-INFO: Probing 'XChangeActivePointerGrab'.
Mono-INFO: Found as 'XChangeActivePointerGrab'.
Mono-INFO: DllImport attempting to load: 'UFScanner.dll'.
Mono-INFO: DllImport loading location: 'libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library './libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'UFScanner.dll'.
Mono-INFO: DllImport error loading library 'UFScanner.dll: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading location: 'libUFScanner.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.so'.
Mono-INFO: DllImport error loading library './libUFScanner.so: undefined
symbol: usb_bulk_read'.
Mono-INFO: DllImport loading: 'UFScanner'.
Mono-INFO: DllImport error loading library 'UFScanner: cannot open shared
object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading location: 'libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library './libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'libUFScanner.dll'.
Mono-INFO: DllImport error loading library 'libUFScanner.dll: cannot open
shared object file: Arquivo ou diretório não encontrado'.

(UFE30_DemoCS.exe:2550): Mono-WARNING **: DllImport unable to load library
'libUFScanner.dll: cannot open shared object file: Arquivo ou diretório não
encontrado'.
Mono-INFO: DllImport attempting to load: 'UFScanner.dll'.
Mono-INFO: DllImport loading location: 'libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library './libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'UFScanner.dll'.
Mono-INFO: DllImport error loading library 'UFScanner.dll: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading location: 'libUFScanner.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.so'.
Mono-INFO: DllImport error loading library './libUFScanner.so: undefined
symbol: usb_bulk_read'.
Mono-INFO: DllImport loading: 'UFScanner'.
Mono-INFO: DllImport error loading library 'UFScanner: cannot open shared
object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading location: 'libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library './libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'libUFScanner.dll'.
Mono-INFO: DllImport error loading library 'libUFScanner.dll: cannot open
shared object file: Arquivo ou diretório não encontrado'.

(UFE30_DemoCS.exe:2550): Mono-WARNING **: DllImport unable to load library
'libUFScanner.dll: cannot open shared object file: Arquivo ou diretório não
encontrado'.
Mono-INFO: DllImport attempting to load: 'UFScanner.dll'.
Mono-INFO: DllImport loading location: 'libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library './libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'UFScanner.dll'.
Mono-INFO: DllImport error loading library 'UFScanner.dll: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading location: 'libUFScanner.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.so: cannot open
shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.so'.
Mono-INFO: DllImport error loading library './libUFScanner.so: undefined
symbol: usb_bulk_read'.
Mono-INFO: DllImport loading: 'UFScanner'.
Mono-INFO: DllImport error loading library 'UFScanner: cannot open shared
object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading location: 'libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library: 'libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading library: './libUFScanner.dll.so'.
Mono-INFO: DllImport error loading library './libUFScanner.dll.so: cannot
open shared object file: Arquivo ou diretório não encontrado'.
Mono-INFO: DllImport loading: 'libUFScanner.dll'.
Mono-INFO: DllImport error loading library 'libUFScanner.dll: cannot open
shared object file: Arquivo ou diretório não encontrado'.

(UFE30_DemoCS.exe:2550): Mono-WARNING **: DllImport unable to load library
'libUFScanner.dll: cannot open shared object file: Arquivo ou diretório não
encontrado'.

Unhandled Exception: System.DllNotFoundException: UFScanner.dll
  at (wrapper managed-to-native) Suprema._UFScanner:UFS_Init ()
  at Suprema.UFScannerManager.Init () [0x00000] 
  at Suprema.UFE30_Demo.btnInit_Click (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Button.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&
m) [0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&
m) [0x00000] 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] 
  at System.Windows.Forms.XplatUIX11.DispatchMessage
(System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000] 
  at Suprema.UFE30_Demo.Main () [0x00000] 




-- 
View this message in context: http://www.nabble.com/System.DllNotFoundException%2C-but-dll-is-there.-tp25952202p26002699.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list