|
Re: OS/X Libtool && -bundle: msg#00074gnu.libtool.general
On Wednesday, February 5, 2003, at 10:46 PM, Robert Boehne wrote: In an older version of Libtool, a library built with -module is That is wrong, that was a bug in libtool. Thats a shared library, not a bundle.
Actually, that is correct. libtool works fine. modules are type bundle.
You aren't supposed to be dlopening dylibs, though it is possible. the same thing on the libraries. I do notice that "file" gives the same Mach-O "bundles" (tyee MH_BUNDLE) are libtool -modules (shared modules) on OS X. Mach-O "shared libraries" (type MH_DYLIB) are different. On linux, they are the same. Dyanmic libraries get the extension "dylib" Modules get the extension ".so" You can dlopen dylibs, but you can only dlclose() bundles. You cannot close a MH_DYLIB once it is opened. See "man ld" for (much) more info than i can give. :) btw, i think the bind_at_load two-step stuff is only need for C++. It shouldn't be in the C part of libtool. pogma? If you are trying to build tcltk, you might need the fink patches to the makefile. See /sw/fink/10.2/unstable/main/finkinfo/languages/tcltk-8.3.4-1.info and /sw/fink/10.2/unstable/main/finkinfo/languages/tcltk-8.3.4-1.patch -Ben ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | OS/X Libtool && -bundle: 00074, Robert Boehne |
|---|---|
| Next by Date: | Re: flat namespaces redux: 00074, F J Franklin |
| Previous by Thread: | OS/X Libtool && -bundlei: 00074, Robert Boehne |
| Next by Thread: | Re: OS/X Libtool && -bundle: 00074, Peter O'Gorman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |