Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

VBNC2017: The library 'System.Xml.dll' could not be found. #78

@ocgltd

Description

@ocgltd

I am running on AlmaLinux9 (RedHat 9 clone) and have added mono-* from the EPEL repos. All worked well, but I also needed mono-vbnc so I downloaded the mono-basic project source from github. I ran ./configure and then make, but make is having trouble finding a dll:

make[1]: Entering directory '/usr/src/mono-basic/mono-basic-main/tools'
make[2]: Entering directory '/usr/src/mono-basic/mono-basic-main/tools/extract-source'
make all-local
make[3]: Entering directory '/usr/src/mono-basic/mono-basic-main/tools/extract-source'
MONO_PATH="../../class/lib/bootstrap:$MONO_PATH" mono  --debug ../../class/lib/bootstrap/vbnc.exe   /sdkpath:/usr/local/lib/mono/4.5-api/ -debug -r:System.Xml.dll -noconfig -define:_MYTYPE=\"Empty\" /novbruntimeref /r:../../class/lib/bootstrap/Microsoft.VisualBasic.dll -target:exe -out:extract-source.exe   @extract-source.exe.sources
Visual Basic.Net Compiler version 0.0.0.5943 (Mono 4.6 - master/c93133db)
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.

vbnc : Command line : error VBNC2017: The library 'System.Xml.dll' could not be found.
There were 1 errors and 0 warnings.
Compilation took 00:00:00.2951750
make[3]: *** [../../build/executable.make:81: extract-source.exe] Error 1
make[3]: Leaving directory '/usr/src/mono-basic/mono-basic-main/tools/extract-source'
make[2]: *** [../../build/rules.make:122: do-all] Error 2
make[2]: Leaving directory '/usr/src/mono-basic/mono-basic-main/tools/extract-source'
make[1]: *** [../build/rules.make:134: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/mono-basic/mono-basic-main/tools'
make: *** [build/rules.make:134: all-recursive] Error 1

I confirmed that System.Xml.dll is on my system:

$ find / -name System.Xml.dll
/usr/lib/mono/4.5/System.Xml.dll
/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
/usr/lib/mono/4.7.1-api/System.Xml.dll

I have no idea how to fix this (new to mono). Do I need to specify a prefix for configure to point to /usr/lib/mono/4.5 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions