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

Chris Howie cdhowie at gmail.com
Wed Oct 21 03:32:33 EDT 2009


On Wed, Oct 21, 2009 at 12:54 AM, Lecio <tolecio at msn.com> wrote:
> Well.. The libsub was reinstalled and the msg bellow has gone.
>
>> Mono-INFO: DllImport error loading library './libUFScanner.so: undefined
>> symbol: usb_bulk_read'.
>
> The App loads normal until the btn that initializes the scanner is clicked,
> then the mess has start! :_)
>
> Chris got the point, the UFScanner.dll is used to manager the Scanner and it
> does not work.
>
> I have a file named libUFScanner.so that I think be a Linux compiled version
> of UFScanner.dll. But I don't know how to use it. May you give me a light ??

On second glance, Robert's assessment seems to be correct -- you do in
fact have a Linux-native version of the unmanaged library in addition
to the Windows version.

For some reason, the first log you posted before this last one shows
that it does find the .so file and tries to load it.  However, the
latest log you posted shows that it can no longer find this file at
all.  I'm not sure why that could have happened... are you running the
application from a different directory this time?

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list