[Mono-osx] Mono.Framework Broken in 2.8.1?

Clay paul.clay.fowler at gmail.com
Mon Nov 29 10:53:22 EST 2010

We have a project that links with Mono via the C SDK by using the
Mono.framework. This worked fine through Mono 2.4 and 2.6 but now when we
upgrade to 2.8.1 (with the matching CSDK), we get this error from Xcode:

ld: framework not found Mono
collect2: ld returned 1 exit status
Command /Developer/usr/bin/g++-4.2 failed with exit code 1

The cause seems to be that the Mono.framework itself is badly formed. The
directory at the top level of the 2.8.1 Mono.framework looks like this:

EI-AZCFMBPRO:Mono.framework clayfowler$ ls -Al
total 48
lrwxr-xr-x  1 root  admin   20 Nov 29 08:18 Commands -> Versions/Current/bin
lrwxr-xr-x  1 root  admin   24 Nov 29 08:18 Headers ->
lrwxr-xr-x  1 root  admin   16 Nov 29 08:18 Home -> Versions/Current
lrwxr-xr-x  1 root  admin   20 Nov 29 08:18 Libraries ->
lrwxr-xr-x  1 root  admin   23 Nov 29 08:18 Mono -> Libraries/libmono.dylib
lrwxr-xr-x  1 root  admin   26 Nov 29 08:18 Resources ->
drwxr-xr-x  4 root  admin  136 Nov 29 08:18 Versions

Notice that link called "Mono" that points to "Libraries/libmono.dylib".
Well, there is no such file as "libmono.dylib" in the Libraries
subdirectory. There is, however, one called "libmono-2.0.1.dylib". Is that
one what this top level symlink ought to be pointing at?

Or maybe I'm just doing something wrong. Is anyone able to use
Mono.framework from a Xcode project anymore?


View this message in context: http://mono.1490590.n4.nabble.com/Mono-Framework-Broken-in-2-8-1-tp3063802p3063802.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list