I have a .Net program, which works fine using "mono Program.exe", but now I am trying to use "mkbundle -o prog Program.exe --deps" on the SAME machine, and it returns the following error:
/usr/bin/ld: skipping incompatible /opt/novell/mono/lib/pkgconfig/../../lib/libmono-2.0.so when searching for -lmono-2.0 /usr/bin/ld: skipping incompatible /opt/novell/mono/lib/pkgconfig/../../lib/libmono-2.0.a when searching for -lmono-2.0 /usr/bin/ld: cannot find -lmono-2.0 collect2: ld returned 1 exit status
The system is CentOS 5.7 on x86_64. I have installed mono on this system using these instructions. Does anyone know why mono works, but mkbundle doesn't? How can I fix it?