• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
install_name_tool & glib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

install_name_tool & glib


  • Subject: install_name_tool & glib
  • From: Jonah Horowitz <email@hidden>
  • Date: Tue, 13 Dec 2005 18:39:19 -0800 (PST)

I'm trying to include glib (and gobject and libintl) as "Frameworks" in my application bundle. I've found several resources on the web that show how to use install_name_tool and otool to modify the install_name in the libraries so they can be put inside a bundle. For some reason it's not working.

Here exactly what I'm doing.

pb-jonah:~/glib-2.8.4 jonah$ export LDFLAGS="-headerpad_max_install_names"
pb-jonah:~/glib-2.8.4 jonah$ ./configure
...
pb-jonah:~/glib-2.8.4 jonah$ make clean ; make
...
pb-jonah:~/glib-2.8.4 jonah$ cd glib/.libs
pb-jonah:~/glib-2.8.4/glib/.libs/ jonah$ otool -L libglib-2.0.0.800.4.dylib
libglib-2.0.0.800.4.dylib:
/usr/local/lib/libglib-2.0.0.dylib (compat...
/usr/lib/libSystem.B.dylib (compat...
/usr/lib/libiconv.2.dylib (compat...
/usr/local/lib/libintl.2.dylib (compat...
pb-jonah:~/glib-2.8.4/glib/.libs jonah$ install_name_tool -change /usr/local/lib/libglib-2.0.0.dylib @executable_path/../Frameworks/libglib-2.0.0.800.4.dylib libglib-2.0.0.800.4.dylib
pb-jonah:~/glib-2.8.4/glib/.libs/ jonah$ otool -L libglib-2.0.0.800.4.dylib
libglib-2.0.0.800.4.dylib:
/usr/local/lib/libglib-2.0.0.dylib (compat...
/usr/lib/libSystem.B.dylib (compat...
/usr/lib/libiconv.2.dylib (compat...
/usr/local/lib/libintl.2.dylib (compat...


Nothing changes! This is really frustrating because I did this for an earlier version and it worked perfectly, and now I can't seem to recreate what I did before. Any ideas.

Thanks in advance,

Jonah Horowitz



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: install_name_tool & glib
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Setting initial filename for Save As
  • Next by Date: NSWindowController troubles.
  • Previous by thread: Re: Core Data, bindings & to-many relationship
  • Next by thread: Re: install_name_tool & glib
  • Index(es):
    • Date
    • Thread