[SATLUG] Mac guru

R. Tyler Ballance tyler at bleepsoft.com
Sat Jan 6 09:45:15 CST 2007


On Jan 6, 2007, at 8:38 AM, Jeremy Mann wrote:

> Good morning! I'm looking for a way to convert a static library to a
> shared lib under OS X. I know how to do it under Linux with ldd, but
> the OS X replacement, otool, doesn't have that ability.
>
> Thanks!

I'm not sure if this is really possible (then again i've not done  
it). You should probably make sure the static library is a Mach-O FAT  
file (lipo -info libJeremy.a), and then you might be able to cross- 
apply whatever Linux technique you've google'd up, provided it uses  
the standard GNU  bintools (ar, ranlib, etc)

Of course, the easiest and reliable way would be to recompile into a  
dylib :)


Cheers

R. Tyler Ballance: Lead Mac Developer at bleep. software
contact: tyler at bleepsoft.com | jabber: tyler at jabber.geekisp.com




More information about the SATLUG mailing list