[MonoDevelop] Using ASP.NET Designer

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Nov 1 13:25:04 EST 2006


On 11/1/06, John Anderson <sontek at gmail.com> wrote:
> I just setup MonoDevelop to have ASP.NET Designer support and when I
> try to view a site in the designer it comes up with
> DllNotFoundException libjscallglue-0.0.2.so but I do infact have
> jscall installed (needed it to even compile asp.net designer support)
> and its located in the same prefix as MD is installed (/usr/local)
>
> Do you guys know what would cause this?

libjscallglue-0.0.2.so is a native library, so it need to be locatable
by the dynamic linker, which defaults to a limited range of
directories.

There are 3 ways to fix this:

1. You can add "/usr/local/lib" to /etc/ld.so.conf (or similar),
though this will mean that *all* libraries in that location will be
locatable so can sometimes cause strange conflicts if the same library
is in both /usr/lib and /usr/local/lib.

2. You can "export LD_LIBRARY_DIR=/usr/local/lib:$LD_LIBRARY_DIR"
before you run MonoDevelop, or add this to the MD script.

3. You can install JSCall# to /usr/lib (i.e prefix=/usr) or another
prefix that's already in the linker path. It shouldn't conflict with
anything.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list