Archived Forum Post

Index of archived forum posts

Question:

Making universal library failed

Nov 06 '12 at 17:42

Sorry if it's a dumb question,

I have just purchased objective C email component and I found that there is no libtool to create Universal Library. So I googled it to find and install libtool, however when I tried to create universtal library I got an error: "libtool: unrecognized option `-static'"

Could you please help me to make Universal Library? It's easier for you to provide the universal library along instead of give your customer extra step to create one.

Thanks.


Answer

The libtool utility should be present if you have XCode.

See: https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/libtool.1.html

If you are getting an error "libtool: unrecognized option '-static'", then you must not be using the correct libtool. Your PATH environment variable must have a path where a different libtool is getting used. If this is the case, I would strongly suggest solving the problem because you really don't want to be using compiler tools that are different than what you thought you were using.


Answer

Hi Chilkat,

Thanks for your answer, however I still couldn't find the libtool in my system, that's why I googled and it turned out I used a wrong libtool like you said. I'm using Mountain Lion with XCode 4.5, could you tell me is libtool available in this version? And where is it located as I use search and couldn't find it. Also is it possible for you to provide the universal lib in the zip file? Or you can send me by email if it's possible.

Thanks.


Answer

Hi Chilkat,

Could you please give me the universal library by email as I really couldn't find the libtool in my system?

Thanks.