Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mono TARBALL installation on Red Hat Linux Gives LIBMPC error and #21720

Open
SaurabhGIT77 opened this issue Nov 9, 2023 · 0 comments
Open

Comments

@SaurabhGIT77
Copy link

Steps to Reproduce

  1. tar xvf mono-6.12.0.199.tar.xz
  2. cd mono-xx
  3. ./configure --prefix=

Current Behavior

When Installed mono-6.12.0.199.tar.xz via TARBALL installation method it Gives below error when performing "./configure --prefix="

#####################################################
onfigure:5284: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5295: $? = 4
configure:5284: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:5295: $? = 4
configure:5315: checking whether the C compiler works
configure:5337: gcc -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP conftest.c >&5
/share/gcc/4.8.5/RedHatEL-7/x86_64/bin/../libexec/gcc/x86_64-redhat-linux/4.8.5/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
configure:5341: $? = 1
configure:5379: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "mono"
| #define PACKAGE_TARNAME "mono"
| #define PACKAGE_VERSION "6.12.0.199"
| #define PACKAGE_STRING "mono 6.12.0.199"
| #define PACKAGE_BUGREPORT "https://github.com/mono/mono/issues/new"
| #define PACKAGE_URL ""
| #define PACKAGE "mono"
| #define VERSION "6.12.0.199"
| #define MONO_CORLIB_VERSION "1A5E0066-58DC-428A-B21C-0AD6CDAE2789"
| #define HAVE_CLASSIC_WINAPI_SUPPORT 1
| #define HAVE_UWP_WINAPI_SUPPORT 0
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5384: error: in `/projects/mono-complete/mono-6.12.0.199':
configure:5386: error: C compiler cannot create executables
##########################################################################

Expected Behavior

On which platforms did you notice this

[* ] Linux

Version Used:

Stacktrace

NA
NA

Additional Information:

  1. The OS is RHEL 7.9 , the prefix folder is a NFS location / Share / Folder , we have below versions of GCC , make and cmake:

GCC --> 4.8.5
GNU Make --> 4.2.1
CMAKE --> 3.5.0

libmpc.so.2 --> this is not available on RHEL 7.9
we have libmpc.so.3 which is for 64 bit architectures so as a workaround i make a symlink of :

libmpc.so.2 --> libmpc.so.3

This works fine and ./configure , make and make install succeeds with few minimal errors and then i cannot find the "mono" executable and recieve "command not found" i even searched manually and apart from "mono" rest all executables are properly placed.

Please help me here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant