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

Error while installing mono 2.11 for ubuntu #9

Open
tkellogg opened this issue May 18, 2013 · 3 comments
Open

Error while installing mono 2.11 for ubuntu #9

tkellogg opened this issue May 18, 2013 · 3 comments

Comments

@tkellogg
Copy link

I downloaded the install_mono-2.11.sh script and ran it. While building libgdiplus I get this error:

libtool: link: gcc -g -O2 -pthread -o .libs/testgdi testgdi.o  ../src/.libs/libgdiplus.so -lpthread -lfontconfig -pthread -Wl,-rpath -Wl,/opt/mono-2.11/lib
/usr/bin/ld: testgdi.o: undefined reference to symbol 'g_print'
/usr/bin/ld: note: 'g_print' is defined in DSO /lib/x86_64-linux-gnu/libglib-2.0.so.0 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libglib-2.0.so.0: could not read symbols: Invalid operation

Do you have any ideas?

@nathanb
Copy link
Owner

nathanb commented May 19, 2013

No, I haven't seen that one yet. I haven't tested this script in awhile. Which version of Ubuntu are you working with? If you don't need to use System.Drawing, you can exclude that library from the list in the install script. GDI is not required for MVC or web.

@tkellogg
Copy link
Author

Thanks for the quick response. I'm so thankful for your script, I wish
there was a PPA for installing reasonable versions of mono.

I'm on a fresh install of Ubuntu 13.04 and unfortunately I need a recent
version of monodevelop, so I need System.Drawing. I'd greatly appreciate
any help you can give. I've been working at it for a long time.

Tim
On May 18, 2013 9:56 PM, "Nathan Bridgewater" [email protected]
wrote:

No, I haven't seen that one yet. I haven't tested this script in awhile.
Which version of Ubuntu are you working with? If you don't need to use
System.Drawing, you can exclude that library from the list in the install
script. GDI is not required for MVC or web.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-18111988
.

@nicolas-raoul
Copy link
Contributor

I am getting the same error.
The folder name is libgdiplus-2.10.9/tests, so maybe the problem is only in tests, and can be ignored?
The library seems to have been generated, in ./src/.libs/libgdiplus.so.

Workaround:

  1. First, run ./configure but I guess you have done it already
  2. Edit Makefile and remove test in the SUBDIRS line, so that it becomes SUBDIRS = src
  3. make
    This time it should work.

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

3 participants