validation test for Puma-linked shared libraries on darwin14 and later

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0AyQfTja4gah_S5J8AtFdakdi==-_a80scGb55uookq6A@mail.gmail.com>
     As I mentioned to Alexander on fink irc, I think we can add a fatal
fink validation error for the dynamic shared libraries on darwin14 and
later that are erroneously linked with -flat_namespace rather than
-undefined dynamic_lookup due to the buggy libtool. We can use the
following approach...

1) test with the 'file' command to make sure the shared library isn't
really a bundle
2) if not a bundle, use 'otool -H <filename> | grep Hint' to look for...

Two-level namespace hints table (0 hints)


which shared libraries created with -flat_namespace should be missing.


If this test fails on darwin14 or later, this should be treated as a fatal
validation error with the appropriate error message.

               Jack

------------------------------------------------------------------------------

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.