installer does not respect prefix for mono-configuration-crypto
Author: EricDeveaudCreated Apr 23, 2021Updated May 29, 2026
Steps to Reproduce
- configure --prefix=/tmp/mono && make & make install
- /tmp/mon/bin/mono-configuration-crypto --help
Current Behavior
results in
/tmp/mon/bin/mono-configuration-crypto: line 2: /usr/local/bin/mono: No such file or directoryExpected Behavior
usage//help display mesage displayed
On which platforms did you notice this
[ ] Linux
Version Used:
mono --version
Mono JIT compiler version 6.12.0.122 (tarball Fri Apr 23 11:57:08 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)how to fix
sed 's;/usr/local;$PREFIX;g' on scripts/mono-configuration-crypto
regards
Eric
Source: mono/mono