I think, you just need to manage the same Collate in both database (Check it) or specify the collate you want to use in query. If this doesn't work you...
I just have red the solution you gave for the problem with "Library not registered" because I have the same issue and I don't know how register it...¿I just...