[tlbuild] dvi test?

John Hawkinson jhawk at alum.mit.edu
Mon Jan 24 09:16:04 CET 2022


Paul Vojta <vojta at math.berkeley.edu> wrote on Mon, 24 Jan 2022
at 03:08:13 EST in <Ye5ebcrYBRHwXhGH at math.berkeley.edu>:

> How about the output of ldd /some/path/to/xdvi-xaw

Somewhere along the way somebody decided MacOS had to be different, but here are the 3 equivalents (that I am aware of) for its dynamic loader; for whatever reason only the magic environment variable prints the hidden libraries, maybe because they are recursive dependencies of libSystem or something:

jhawk at loud-room xdvik % otool -L xdvi-bin 
xdvi-bin:
	/opt/X11/lib/libXaw.7.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/opt/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
	/opt/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
	/opt/X11/lib/libX11.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)

jhawk at loud-room xdvik % dyld_info -dependents xdvi-bin   
xdvi-bin [arm64]:
    -dependents:
        attributes     load path
                       /opt/X11/lib/libXaw.7.dylib
                       /opt/X11/lib/libXmu.6.dylib
                       /opt/X11/lib/libXt.6.dylib
                       /opt/X11/lib/libSM.6.dylib
                       /opt/X11/lib/libICE.6.dylib
                       /opt/X11/lib/libXext.6.dylib
                       /opt/X11/lib/libXpm.4.dylib
                       /opt/X11/lib/libX11.6.dylib
                       /usr/lib/libiconv.2.dylib
                       /usr/lib/libSystem.B.dylib

jhawk at loud-room xdvik % DYLD_PRINT_LIBRARIES=1 ./xdvi-bin
dyld[97800]: <8D2586F3-38BC-3870-8371-3932245E4F8F> /Users/jhawk/src/xdvik-22.87.05/Work/texk/xdvik/xdvi-bin
dyld[97800]: <3B255735-FC8C-3999-8408-946AA2617F40> /opt/X11/lib/libXaw7.7.dylib
dyld[97800]: <F35EE608-7EFD-3514-8287-86B0FF74E77C> /opt/X11/lib/libXmu.6.dylib
dyld[97800]: <5979817E-2FE8-3126-A45D-8B4169D264E2> /opt/X11/lib/libXt.6.dylib
dyld[97800]: <2FBBF956-A27D-3963-81F2-24843777B5B4> /opt/X11/lib/libSM.6.dylib
dyld[97800]: <241F3FB9-964F-3457-92C6-6A39CB80576B> /opt/X11/lib/libICE.6.dylib
dyld[97800]: <588612D8-9B9F-3A14-9564-2B3A6B1C4240> /opt/X11/lib/libXext.6.dylib
dyld[97800]: <C2364CDA-C611-33B7-B49F-764E6BEED6BF> /opt/X11/lib/libXpm.4.dylib
dyld[97800]: <4B1DADA7-622B-3DB3-8974-605F56435AE4> /opt/X11/lib/libX11.6.dylib
dyld[97800]: <9A006BB8-0857-3E23-92C7-8BC962F20996> /opt/X11/lib/libxcb.1.dylib
dyld[97800]: <772AF95B-EDCE-37E5-9232-47C84ECC2C71> /opt/X11/lib/libXau.6.dylib
dyld[97800]: <37AC8FA5-A17E-33A7-8999-31ED6834334E> /usr/lib/libSystem.B.dylib
dyld[97800]: <22B0DDF8-19B1-3F56-973C-3F639D4564AF> /usr/lib/system/libcache.dylib
dyld[97800]: <7ACD9142-CC3E-3F0F-AD9F-F87C302D573E> /usr/lib/system/libcommonCrypto.dylib
dyld[97800]: <8FFA49FC-3CF7-3EC6-8A48-ED197724041B> /usr/lib/system/libcompiler_rt.dylib
dyld[97800]: <E7763C71-16EC-3BB4-847D-102DE8458168> /usr/lib/system/libcopyfile.dylib
dyld[97800]: <62B5D2A2-7CF7-3D1B-96EC-0E8898A7A0DA> /usr/lib/system/libcorecrypto.dylib
dyld[97800]: <3A9E9A1E-72B6-3F66-AA17-D955384C1A39> /usr/lib/system/libdispatch.dylib
dyld[97800]: <09AB3723-C26D-3762-93BA-98E9C38B89C1> /usr/lib/system/libdyld.dylib
dyld[97800]: <A5A2F70A-E083-3298-88C2-AD550AE48370> /usr/lib/system/libkeymgr.dylib
dyld[97800]: <83C8661F-D9F2-3931-952C-6247173649FB> /usr/lib/system/libmacho.dylib
dyld[97800]: <0F140B2F-8214-30B8-9CDA-7F0DB8DE13FE> /usr/lib/system/libquarantine.dylib
dyld[97800]: <DCBB4D26-765D-3FE9-825D-40CB4CBD2D6A> /usr/lib/system/libremovefile.dylib
dyld[97800]: <1B8BB485-301C-3D2C-88C6-30A36748F370> /usr/lib/system/libsystem_asl.dylib
dyld[97800]: <B7B7480C-F144-3501-8B95-AF95ACEF7BED> /usr/lib/system/libsystem_blocks.dylib
dyld[97800]: <00FC01C7-36BC-3193-86A3-5C03046B45FB> /usr/lib/system/libsystem_c.dylib
dyld[97800]: <9D3DA336-7A42-33CA-BB73-992322C43A79> /usr/lib/system/libsystem_collections.dylib
dyld[97800]: <E7DED043-0BA8-309E-A2B8-CEF538EDB42C> /usr/lib/system/libsystem_configuration.dylib
dyld[97800]: <A52DED3E-8E83-3E73-81EE-D6652530C896> /usr/lib/system/libsystem_containermanager.dylib
dyld[97800]: <862B5C1A-18B9-34F3-92EE-EF7097E231B7> /usr/lib/system/libsystem_coreservices.dylib
dyld[97800]: <3E100E89-39E4-3EB8-B107-74F2128EF205> /usr/lib/system/libsystem_darwin.dylib
dyld[97800]: <B09D4026-65C0-3697-A061-F9EFDD472524> /usr/lib/system/libsystem_dnssd.dylib
dyld[97800]: <D945ABFC-8F6D-355B-A72B-530E52C1AC9B> /usr/lib/system/libsystem_featureflags.dylib
dyld[97800]: <84ADA565-384C-3208-A670-861402A357CE> /usr/lib/system/libsystem_info.dylib
dyld[97800]: <2F0D5F29-693F-36A2-8C57-0D6E1919586B> /usr/lib/system/libsystem_m.dylib
dyld[97800]: <0E4E31E8-030C-3527-94A1-42E266F3DF58> /usr/lib/system/libsystem_malloc.dylib
dyld[97800]: <8338FE13-BF44-3500-A07E-3CCA493830AB> /usr/lib/system/libsystem_networkextension.dylib
dyld[97800]: <8B7B82AA-4714-3EAF-9DED-EBFA363295EB> /usr/lib/system/libsystem_notify.dylib
dyld[97800]: <CDC2BAC8-4DF7-39B3-BE4E-38282F077676> /usr/lib/system/libsystem_product_info_filter.dylib
dyld[97800]: <1485320D-2587-35BA-AAD4-441D6C39C98C> /usr/lib/system/libsystem_sandbox.dylib
dyld[97800]: <6A8FEE92-740F-3963-8F1B-98112A619010> /usr/lib/system/libsystem_secinit.dylib
dyld[97800]: <C8B3081A-5081-3A99-BBE3-01413DE444C6> /usr/lib/system/libsystem_kernel.dylib
dyld[97800]: <EF6555F4-7A8E-3E51-9B40-5381482DEE4D> /usr/lib/system/libsystem_platform.dylib
dyld[97800]: <ED328B18-EEEF-3B15-8858-798B19B0C2CD> /usr/lib/system/libsystem_pthread.dylib
dyld[97800]: <843F619F-8A94-378D-B840-CB8D2CABB98E> /usr/lib/system/libsystem_symptoms.dylib
dyld[97800]: <CB31B40D-D932-3628-A4DC-DC2135F9AECE> /usr/lib/system/libsystem_trace.dylib
dyld[97800]: <04A666D5-2FB4-3D5A-82F8-0EAB2E35EB91> /usr/lib/system/libunwind.dylib
dyld[97800]: <80733A24-F268-3E74-87FD-C043429512CC> /usr/lib/system/libxpc.dylib
dyld[97800]: <540088B6-CC81-381F-901C-5632F4A73C45> /usr/lib/libc++abi.dylib
dyld[97800]: <8A930227-747E-381F-BB29-2DFE267A84F7> /usr/lib/libobjc.A.dylib
dyld[97800]: <9A48F3CB-EC1B-3783-96F7-D06867E3C21A> /usr/lib/liboah.dylib
dyld[97800]: <F165F001-69BD-338F-A4E1-CD6081B4F94C> /usr/lib/libc++.1.dylib
dyld[97800]: <BB9AD7EB-5447-30AF-BA5B-7F014B32D044> /usr/lib/libiconv.2.dylib
dyld[97800]: <4BF8FE1F-C500-3289-BB8E-D9095A12E8EF> /usr/lib/libcharset.1.dylib
jhawk at loud-room xdvik % 

--
jhawk at alum.mit.edu
John Hawkinson



More information about the tlbuild mailing list.