[Kde-bindings] Qyoto unable to load dylib on OS X

Arno Rehn arno at arnorehn.de
Fri Mar 9 18:14:35 UTC 2012


You can try running mono through strace and see whether it's really not 
finding the lib or if there's a different cause. Most DllNotFoundExceptions 
are caused by the linker not being able to find some dependencies (from my 
experience at least).

On Friday 09 March 2012 13:23:13 JD Guzman wrote:
> I have tried this already and have had no luck in getting this to work
> either.  I suspect it may be an issue with the build process but can't put
> my finger on it.
> 
> Regards,
> 
> JD
> 
> On 9 Mar 2012, at 11:45, Dimitar Dobrev wrote:
> > I build Qyoto on the mac a while ago but I didn't set DYLD_LIBRARY_PATH,
> > just changed the DLL maps and copied the libs next to the executable and
> > it ran. There was a problem at run-time, though, a crash at
> > isContainedInstance or similar in qyoto-qtcore-native, I believe. I'm
> > having some problems with my machine now but even when it's OK I'd rather
> > work on this error instead of configuring paths.
> > 
> > From: JD Guzman <jdg.dev at me.com>
> > To: kde-bindings at kde.org
> > Sent: Friday, March 9, 2012 12:51 PM
> > Subject: [Kde-bindings] Qyoto unable to load dylib on OS X
> > 
> > Hi all,
> > 
> > Well I managed to get Qyoto built with no errors on OS X but my current
> > issue is that when I add the qt-dotnet.dll to my project and build it I
> > get a System.DllNotFoundException: libqyoto.2.dylib error.
> > 
> > First of all I must say that at first the error showed libqyoto.so.2 but
> > as I am on OS X dylibs were built instead.  I changed the dll mapping
> > file and now it's looking for the libqyoto.2.dylib which is in my
> > /usr/local/lib directory but at run time it still cannot be found.
> > 
> > I have set my DYLD_LIBRARY_PATH and I can confirm that /usr/local/lib is
> > in there but that still didn't work.
> > 
> > I feel like I am so close to getting this working but it is something
> > really simple that I am missing.
> > 
> > Any help would be appreciated.
> > 
> > Regards,
> > 
> > JD
> > _______________________________________________
> > Kde-bindings mailing list
> > Kde-bindings at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-bindings
> > 
> > 
> > _______________________________________________
> > Kde-bindings mailing list
> > Kde-bindings at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-bindings
-- 
Arno Rehn


More information about the Kde-bindings mailing list