Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_malloc_n [SOLVED]

Because the anser is only in Google-cache, I just provide it here:
In Ubuntu 10.04 (and probably other newer distributions) LibGDK 2.0 is installed and conflicts with Titanium's internal libraries.

removing ~/.titanium/runtime/linux/1.0.0/libg2.0 or /opt/titanium/runtime/linux/1.0.0/libg2.0 will solve the problem.

To be exact:

rm runtime/linux/1.0.0/libgobject2.0

rm runtime/linux/1.0.0/libglib2.0

rm runtime/linux/1.0.0/libgio2.0

rm runtime/linux/1.0.0/libgthread2.0

— asked April 9th 2010 by Vincent Hindriksen
  • installation
  • linux
0 Comments

6 Answers

  • Accepted Answer

    rm ~/.titanium/runtime/linux/1.0.0/libgobject-2.0.*

    rm ~/.titanium/runtime/linux/1.0.0/libglib-2.0.*

    rm ~/.titanium/runtime/linux/1.0.0/libgio-2.0.*

    rm ~/.titanium/runtime/linux/1.0.0/libgthread-2.0.*

    This worked. :) Thanks much.

    — answered April 30th 2010 by Justin Riddiough
    permalink
    0 Comments
  • Unfortunately, this advice didn't help me on Ubuntu 12.04 :(

    — answered May 30th 2012 by Ed Kozachek
    permalink
    0 Comments
  • Thanks for adding this.

    — answered April 22nd 2010 by Dan Trevino
    permalink
    0 Comments
  • Hi, I am getting this error but do not see these files specifically. Indeed I am on Ubuntu 10.04.

    What I am seeing is that there isn't a libg2.0 exactly, but a many of the unbuilt sources.

    For example,
    ~/.titanium/runtime/linux/1.0.0/libgobject (tab complete) I find..
    libgobject-2.0.la libgobject-2.0.so.0
    libgobject-2.0.so libgobject-2.0.so.0.2200.4

    If I enter the commands shown above exactly, it returns that there is no such file or directory. So, I'm not sure if I messed up the install - I've now installed build-essential and think I'm going to delete the .titanium folder and try running the install script again.

    — answered April 30th 2010 by Justin Riddiough
    permalink
    0 Comments
  • This fixed my problems as well, thank you very much. strange enough if I copy the post title and search for it, google marks this page as the #1 result.

    — answered May 14th 2010 by joel perry
    permalink
    0 Comments
  • 25

    — answered June 19th 2012 by Bill Freedman
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.