[Xastir] OSX Build - long

John Ronan jpronans at gmail.com
Thu Dec 15 15:09:06 EST 2011


./configure LDFLAGS=-L/usr/X11/lib LIBS=-lXft

Sorted that. Thanks guys.

Need to head to parents now.. I've the work lappy with me, if my dad doesn't find some job or other for me to do when I get there. I'll see about doing it again on that and writing how to get openmotif built properly.

Then I'll think about whether abandon it for lesstif or not. :)

Cheers
John (EI7IG-9)



On 15 Dec 2011, at 19:49, Jeremy McDermond wrote:

> On Dec 15, 2011, at 11:03 AM, Tom Russo wrote:
>> FWIW, on my systems, "ldd" on the libXm.so shared library reports that it 
>> depends on libXft, and the dynamic linker takes care of that.  I don't know
>> why the dylib you've build doesn't carry that same information, but you
>> can double check the dependencies with "/usr/bin/otool," so I read.  
> 
> otool -L is the rough equivalent of ldd on other systems.  Note that MacOS doesn't really look for shared libraries around the file system with the equivalent of /etc/ld.so.conf or LD_LIBRARY_PATH, rather having paths to the shared libraries contained within the binaries themselves.  You can change these paths with install_name_tool.
> 
> One also needs to be careful with fat binaries.  If the appropriate architecture isn't in the .dylib file linkages can easily fail.  The file command will show the different architectures continued within a shared library.
> 
> --
> Jeremy McDermond (NH6Z)
> Xenotropic Systems
> mcdermj at xenotropic.com
> 
> 
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir




More information about the Xastir mailing list