[Mono-list] Added dll to gac not being picked up

PFJ paul at all-the-johnsons.co.uk
Tue Aug 8 07:11:16 EDT 2006


I've rewritten the spec file for db4o to now add the db4o.dll to gac (I
can't add db4o-tools.dll as it's not a strong name). I've used the
following for the gacutil line

gacutil -i dll/db4o.dll -f -package db4o -root %{buildroot}%{monodir}

This adds the dll to (what becomes) /usr/lib

When I install the rpms created, gacutil -l shows db4o to be in gac
quite happily.

The problem comes when I try to link to db4o. All I get back is that the
db4o assembly cannot be found. I'm using 

mcs db4oexample.cs -r:db4o.dll (I've also tried Db4o.dll and not adding
the -r:db4o)

Am I doing something wrong or is there a missing bit to the equation?


"Logic, my dear Zoe, is merely the ability to be wrong with authority" -
Dr Who

More information about the Mono-list mailing list