yongchaofan / FLTerm

fast light terminal emulator
https://yongchaofan.github.io/FLTerm
GNU General Public License v3.0
23 stars 7 forks source link

Build FLTerm on macOS 12, with iTerm2 + brew #8

Closed rageworx closed 1 year ago

rageworx commented 1 year ago

Dear @yongchaofan, I am on macOS 12, builds FLTK with iTerm2 + brew + Xcode console only. Is there anyway to find your required libraries as

clang: error: no such file or directory: '/usr/local/lib/libssl.a'
clang: error: no such file or directory: '/usr/local/lib/libcrypto.a'

If developer using brew on macOS, there's libssh2 or libssh by installing brew install libssh2. Also libssl should ignored by libssh2. Is there any different dependency with brew versions ? I just tested modify your Makefile.macos as

Makefile for macOS with openssl crypto backend
HEADERS = src/host.h src/ssh2.h src/Fl_Term.h src/Fl_Browser_Input.h
OBJS = obj/tiny2.o obj/ssh2.o obj/host.o obj/Fl_Term.o obj/Fl_Browser_Input.o obj/cocoa_wrapper.o
#LIBS = /usr/local/lib/libssh2.a /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a
#libmbedcrypto.a

LIBS += -lssh2

CFLAGS= -std=c++11 ${shell fltk-config --cxxflags}
LDFLAGS = ${shell fltk-config --ldstaticflags} -lstdc++ -lz
#-lssl -lcrypto

all: tinyTerm2

tinyTerm2: ${OBJS}
    cc -o "$@" ${OBJS} ${LDFLAGS} ${LIBS}

obj/cocoa_wrapper.o: src/cocoa_wrapper.mm
    ${CC} ${CFLAGS} -c $< -o $@

obj/%.o: src/%.cxx ${HEADERS}
    ${CC} ${CFLAGS} -c $< -o $@

clean:
    rm obj/*.o "tinyTerm2"

and it builds as well, and runs well.

rageworx commented 1 year ago

FYI, testing on my ssh server, works fine except some font issue ( you should ignore broken charactors ) image

Testing environment

erco77 commented 1 year ago

I ended up getting a build that worked with this on my arm64 mac with the various brew libs installed:

#Makefile for Linux build with mbedTLS crypto backend
HEADERS = src/host.h src/ssh2.h
OBJS = obj/tiny2.o obj/ssh2.o obj/host.o obj/Fl_Term.o obj/Fl_Browser_Input.o obj/cocoa_wrapper.o

BREWDIR=/opt/homebrew
FLTKDIR=/usr/local/src/fltk-1.4.x-git
FLTKCONFIG=${FLTKDIR}/fltk-config
CFLAGS= -Os -std=c++11 ${shell ${FLTKCONFIG} --cxxflags} -I. -I${BREWDIR}/include
LDFLAGS = ${shell ${FLTKCONFIG} --ldstaticflags} \
          -lstdc++ \
          -lz \
          ${BREWDIR}/Cellar/openssl@1.1/1.1.1s/lib/libcrypto.a \
          ${BREWDIR}/Cellar/libssh2/1.10.0/lib/libssh2.a \
          ${BREWDIR}/Cellar/libressl/3.6.1/lib/libssl.a

all: tinyTerm2 

tinyTerm2: ${OBJS} 
        cc -o "$@" ${OBJS} ${LDFLAGS}

obj/cocoa_wrapper.o: src/cocoa_wrapper.mm
        ${CC} ${CFLAGS} -c $< -o $@

obj/%.o: src/%.cxx ${HEADERS}
        ${CC} ${CFLAGS} -c $< -o $@

clean:
        rm obj/*.o "tinyTerm2"
rageworx commented 1 year ago

I ended up getting a build that worked with this on my arm64 mac with the various brew libs installed:

Great testing for Apple silicon environments ! ( my macBook air M1 has older macOS11, so I didn'y try this for more latest OS version ) And one more question, it looks only for libssh2.a required from brew, is it need to decide libcrypto.a and libssl.a ? Mostly, if these - crypto, ssh2 and ssl - installed on iTerm2+brew, may need to decide directly with full length path ? because by version ? - maybe right, it's good testing for compatibility :)

Regards, Raph.

erco77 commented 1 year ago

Pretty sure you need all three libs. If you try to compile just linking ssh2, don't you get a lot of undefined symbols?

Regarding full paths, I prefer them just to ensure I'm getting static libs in my binary, and I know exactly which libs I'm getting, instead of using -L and -l flags which can be more "vague". I tend to only use -l only for linking OS dynamic libs (e.g. -lz, -lm, etc). I usually want 'extra' libs that are not part of the OS linked statically into my executables, so the executable can be moved to other systems and still work without getting dso errors.

Regarding the absolute paths, many of brew's tools probably register themselves with pkg-config or pkgutil (or something like that), which I think can be called from with makefiles to resolve the paths automatically, similar to how FLTK's fltk-config --include-dir and fltk-config --libs operate.

rageworx commented 1 year ago

Pretty sure you need all three libs. If you try to compile just linking ssh2, don't you get a lot of undefined symbols?

Dear @erco77 , Sorry for late, my MacBook Pro was ruined for a while by macOS 12.6.2 update ... I need fully cleaned my NVMe SSD and install macOS again, then migrated from TimeMachine.

(Edited, I misunderstood your words, sorry !) Yes, it is not static compilation. Just did as dynamic linking.

See make log here,

 raphaelkim@Raphaels-MBP  ~/Projects/FLTerm 
>  make -f Makefile.macos clean
rm obj/*.o "tinyTerm2"
 raphaelkim@Raphaels-MBP  ~/Projects/FLTerm 
>  make -f Makefile.macos
cc -std=c++11 -I/usr/local/include -I/usr/local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c src/tiny2.cxx -o obj/tiny2.o
src/tiny2.cxx:117:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buf, ABOUT_TERM2, httport);
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:443:4: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                        sprintf(buf,"%d",i);
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:452:4: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                        sprintf(buf,"@b%d",s[i]);
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:559:4: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                        sprintf(url, "http://127.0.0.1:%d/%s", httport, fn);
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:980:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                len=sprintf(reply, "HTTP/1.1 404 not found\nDate: %s\n", timebuf);
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:981:8: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                len+=sprintf(reply+len, "Server: FLTerm\nConnection: close");
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:982:11: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            len+=sprintf(reply+len, "Content-Type: text/html\nContent-Length: 14");
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:983:11: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            len+=sprintf(reply+len, "\n\nfile not found");
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:990:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                len=sprintf(reply, "HTTP/1.1 200 Ok\nDate: %s\n", timebuf);
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:991:8: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                len+=sprintf(reply+len, "Server: FLTerm\nConnection: close");
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:999:8: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                len+=sprintf(reply+len,"Content-Type: %s\n", mime[i]);
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:1002:8: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                len+=sprintf(reply+len, "Content-Length: %ld\n", filesize);
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:1004:8: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                len+=sprintf(reply+len, "Last-Modified: %s\n\n", timebuf);
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/tiny2.cxx:1036:15: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                int len = sprintf(buf, HEADER, replen);
                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
14 warnings generated.
cc -std=c++11 -I/usr/local/include -I/usr/local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c src/ssh2.cxx -o obj/ssh2.o
src/ssh2.cxx:212:11: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        buff_len=sprintf(keybuf, "%s key fingerprint", keytypes[type]);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
src/ssh2.cxx:219:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf(keybuf+buff_len, ":%02x", (unsigned char)fingerprint[i] );
                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
2 warnings generated.
cc -std=c++11 -I/usr/local/include -I/usr/local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c src/host.cxx -o obj/host.o
cc -std=c++11 -I/usr/local/include -I/usr/local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c src/Fl_Term.cxx -o obj/Fl_Term.o
src/Fl_Term.cxx:1105:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf(msg, "\r\n\033[32m***%d bytes saved to %s***\03337m\r\n",
                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
cc -std=c++11 -I/usr/local/include -I/usr/local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c src/Fl_Browser_Input.cxx -o obj/Fl_Browser_Input.o
cc -std=c++11 -I/usr/local/include -I/usr/local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c src/cocoa_wrapper.mm -o obj/cocoa_wrapper.o
In file included from src/cocoa_wrapper.mm:2:
In file included from /usr/local/include/FL/x.H:25:
In file included from /usr/local/include/FL/platform.H:39:
/usr/local/include/FL/mac.H:31:8: warning: 'NSOpenGLContext' is deprecated: first deprecated in macOS 10.14 - Please use Metal or MetalKit. [-Wdeprecated-declarations]
extern NSOpenGLContext *fl_mac_glcontext(GLContext rc);
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:184:12: note: 'NSOpenGLContext' has been explicitly marked deprecated here
@interface NSOpenGLContext : NSObject <NSLocking>
           ^
1 warning generated.
cc -o "tinyTerm2" obj/tiny2.o obj/ssh2.o obj/host.o obj/Fl_Term.o obj/Fl_Browser_Input.o obj/cocoa_wrapper.o /usr/local/lib/libfltk.a -pthread -lpthread -framework Cocoa -lstdc++ -lz  -lssh2

And generated file is ...

>  file tinyTerm2
tinyTerm2: Mach-O 64-bit executable x86_64

Dependencies are ...

>  otool -L tinyTerm2
tinyTerm2:
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
    /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
    /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
    /usr/local/opt/libssh2/lib/libssh2.1.dylib (compatibility version 2.0.0, current version 2.1.0)
    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2299.30.112)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 61.0.0)
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1953.255.0)
    /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1690.3.3)
    /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1953.255.0)
    /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

My opinion is libssh2.1.dylib may loads others dynamically when loads tineTerm2. And static linking was not my option for this time :)

rageworx commented 1 year ago

Dear @erco77 , Did some more inspection with lldb, image list here -

>  lldb tinyTerm2
(lldb) target create "tinyTerm2"
Current executable set to '/Users/raphaelkim/Projects/FLTerm/tinyTerm2' (x86_64).
(lldb) image list
[  0] B0246648-C596-3EBB-82EA-872B110225DD 0x0000000100000000 /Users/raphaelkim/Projects/FLTerm/tinyTerm2
[  1] B53641EA-6CD4-39C9-9B14-59C92CFD9584 0x0000000000000000 /usr/lib/dyld
[  2] 1602C718-BBE7-3EBA-9571-625CA3CDC408 0x00007ff80b11b000 /usr/lib/libSystem.B.dylib
[  3] 56159A16-2A46-37F3-AD06-BF108DFC0F0D 0x00007ff81718e000 /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
[  4] A031469A-A9FE-37E0-8523-4F80351EA635 0x00007ff800274000 /usr/lib/libc++.1.dylib
[  5] FE8700B3-27A4-3E2E-B046-9A6192F17A58 0x00007ff80b03b000 /usr/lib/libz.1.dylib
[  6] 8AD20AA7-1230-3DA2-B4CC-B6467DBE9248 0x0000000000000000 /usr/local/opt/libssh2/lib/libssh2.1.dylib
[  7] AF3D9501-0ABF-3C79-955C-C42C29AF6351 0x00007ff802de1000 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
[  8] FEA98442-BFFA-37AE-B3C1-9E03547DB2C9 0x00007ff814e32000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
[  9] 93C48919-68AF-367E-9A67-DB4159BC962C 0x00007ff800368000 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
[ 10] 11CD2D7D-8740-3469-B832-70D97DBEBB6E 0x00007ff80568b000 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
[ 11] 8D3EF34D-D79E-3658-AEB8-2AB2FD6425FD 0x00007ff801a4c000 /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
[ 12] E22E60BB-AB77-3120-862F-92FA74FEFFCF 0x00007ff8011e4000 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
[ 13] 4D9B0DCA-7151-3875-B98E-B255DB8267A8 0x00007ff8001ae000 /usr/lib/libobjc.A.dylib
[ 14] 54431C2C-7EBD-3E17-AEA3-9A7FFD3403AC 0x00007ff80b116000 /usr/lib/system/libcache.dylib
[ 15] 1A00FE13-7DED-3B41-9655-EF210F31764E 0x00007ff80b0d2000 /usr/lib/system/libcommonCrypto.dylib
[ 16] C0F60CA9-4403-3539-8B35-FCDC19CDDCAD 0x00007ff80b0fb000 /usr/lib/system/libcompiler_rt.dylib
[ 17] 3F9E168D-0697-3311-86DE-63884A75299C 0x00007ff80b0f1000 /usr/lib/system/libcopyfile.dylib
[ 18] FF2CCB3B-7A2C-32EE-904E-91FEE822EBD2 0x00007ff8000a9000 /usr/lib/system/libcorecrypto.dylib
[ 19] 1A04B380-76E4-3E4B-B0FC-9837533D021D 0x00007ff800167000 /usr/lib/system/libdispatch.dylib
[ 20] 64C284B3-231B-391D-845C-A285DFA305CD 0x00007ff800327000 /usr/lib/system/libdyld.dylib
[ 21] 16BAFDE1-B1FC-3A4B-B06B-709AB4E357AB 0x00007ff80b10d000 /usr/lib/system/libkeymgr.dylib
[ 22] 1A2B574F-0D91-376B-8122-C9915A89B719 0x00007ff80b0b0000 /usr/lib/system/libmacho.dylib
[ 23] DE4AFED5-17A7-3BBE-BC74-F59B0119F8BA 0x00007ff80a731000 /usr/lib/system/libquarantine.dylib
[ 24] 0A06ABF0-FA65-3ADA-A46A-A6F7C62F5C15 0x00007ff80b10b000 /usr/lib/system/libremovefile.dylib
[ 25] 4C84DA5F-6450-3B33-8CA5-E6775EB3C7BB 0x00007ff8052bc000 /usr/lib/system/libsystem_asl.dylib
[ 26] CE5E8C55-9E28-3982-9B98-74230BAD820F 0x00007ff800052000 /usr/lib/system/libsystem_blocks.dylib
[ 27] E42E9D7A-03B4-340B-B61E-DCD45FD4ACC0 0x00007ff8001eb000 /usr/lib/system/libsystem_c.dylib
[ 28] D3FEAEB6-20E5-316C-87CA-DAE981459D66 0x00007ff80b103000 /usr/lib/system/libsystem_collections.dylib
[ 29] C8A8DB1F-A66B-3AB8-88F8-D3F81E13952F 0x00007ff8099e5000 /usr/lib/system/libsystem_configuration.dylib
[ 30] 4A6C44F7-FD36-3315-85EA-904106DB1995 0x00007ff808c8e000 /usr/lib/system/libsystem_containermanager.dylib
[ 31] 8C364FD4-92EB-3D96-903B-23556015AD00 0x00007ff80ade8000 /usr/lib/system/libsystem_coreservices.dylib
[ 32] C8C06B65-C4DF-3C86-8D03-ACB8568EC261 0x00007ff80295d000 /usr/lib/system/libsystem_darwin.dylib
[ 33] 1DFA63CE-158B-3B32-A6BD-9881C2B4045E 0x00007ff80b10e000 /usr/lib/system/libsystem_dnssd.dylib
[ 34] CAB9769A-0B25-311F-A2CB-375105985D22 0x00007ff8001e8000 /usr/lib/system/libsystem_featureflags.dylib
[ 35] 6D4B0DA7-8EFC-3E6D-B984-F49260C3C194 0x00007ff80033d000 /usr/lib/system/libsystem_info.dylib
[ 36] 5873BB02-9C24-330E-BE3F-A69937620E64 0x00007ff80b04e000 /usr/lib/system/libsystem_m.dylib
[ 37] 47042ACD-A337-322A-8DB7-ECD59CC60D92 0x00007ff80013b000 /usr/lib/system/libsystem_malloc.dylib
[ 38] C5A08005-40ED-3596-AE02-3CDE5CBB9214 0x00007ff805257000 /usr/lib/system/libsystem_networkextension.dylib
[ 39] 8FDAD401-BF94-33BD-AC95-6928272AF18D 0x00007ff802d83000 /usr/lib/system/libsystem_notify.dylib
[ 40] 27C0A669-AF41-38F3-AF68-B4DE8FFD5128 0x00007ff81138c000 /usr/lib/system/libsystem_product_info_filter.dylib
[ 41] 4784C5A8-4B11-30A3-9306-AB2EDE5C1B15 0x00007ff8099e9000 /usr/lib/system/libsystem_sandbox.dylib
[ 42] 1073080D-83EA-3190-AB3F-F299FC7C042E 0x00007ff80b108000 /usr/lib/system/libsystem_secinit.dylib
[ 43] 07AD083C-2835-3D18-BB6D-6F081840C8A4 0x00007ff8002e3000 /usr/lib/system/libsystem_kernel.dylib
[ 44] A8A33774-6D44-35E9-AD2A-BAD9E4D5192A 0x00007ff800333000 /usr/lib/system/libsystem_platform.dylib
[ 45] B5454E27-E8C7-3FDB-B77F-714F1E82E70B 0x00007ff80031b000 /usr/lib/system/libsystem_pthread.dylib
[ 46] 643A7FA0-DC38-30CF-B755-8FFE9A768B30 0x00007ff806b0a000 /usr/lib/system/libsystem_symptoms.dylib
[ 47] 5E19C3FF-05E3-39AD-BF5F-118B4CA909E1 0x00007ff800090000 /usr/lib/system/libsystem_trace.dylib
[ 48] 079E4280-10E2-3062-BC91-A190F3A0C07E 0x00007ff80b0de000 /usr/lib/system/libunwind.dylib
[ 49] 8B7D13B4-A209-3F80-863E-55B4209C0DC3 0x00007ff800054000 /usr/lib/system/libxpc.dylib
[ 50] D3F19250-7986-3901-B3C9-B4C992E71E15 0x00007ff8062f8000 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
[ 51] A99F1FB2-FD31-3CF4-BE4D-A9FCCF219974 0x00007ff8002cd000 /usr/lib/libc++abi.dylib
[ 52] F3FD0FD2-5A36-3810-A52C-5EDBED2EB791 0x0000000000000000 /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
[ 53] A23FF437-8A57-3B02-862A-2E6EF4008BB1 0x0000000000000000 /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib
[ 54] 700E2519-16EA-335E-ADAE-7F6A7E9C7CFA 0x00007ff803c71000 /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
[ 55] 6BA53148-FE87-37B7-A3B4-F98C8B6AB7B9 0x00007ff81108f000 /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
[ 56] 5DCB4487-45A0-3628-B3D6-0CBF9CBE015E 0x00007ff80936f000 /System/Library/PrivateFrameworks/XCTTargetBootstrap.framework/Versions/A/XCTTargetBootstrap
[ 57] 040F7C32-86F2-3D8B-B4C7-FF674B129725 0x00007ff80cf25000 /System/Library/PrivateFrameworks/InternationalSupport.framework/Versions/A/InternationalSupport
[ 58] 20D3CDB9-2765-32D7-80C9-13E3837FF545 0x00007ff80cfaf000 /System/Library/PrivateFrameworks/UserActivity.framework/Versions/A/UserActivity
[ 59] 4B8EF109-F743-36A2-856F-4EA4FAC93382 0x00007ff80c302000 /usr/lib/libspindump.dylib
[ 60] 3C6C700B-B03C-3F12-9AE8-09790B59DA26 0x00007ff803f00000 /System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers
[ 61] 82CB209D-20EB-39FA-82D9-92C7CD1D077F 0x00007ff807a93000 /usr/lib/libapp_launch_measurement.dylib
[ 62] FABAF985-EF0B-3722-AD1A-2DE863E180C3 0x00007ff806cca000 /System/Library/PrivateFrameworks/CoreAnalytics.framework/Versions/A/CoreAnalytics
[ 63] FBAA477F-EDFA-3A70-A669-0AB3AF3F1BB9 0x00007ff807a96000 /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout
[ 64] F172AF90-E764-3DA1-8778-7FCD2850AD02 0x00007ff808cc6000 /System/Library/Frameworks/Metal.framework/Versions/A/Metal
[ 65] 7194BBA9-5E71-3D2F-8800-4FC3054E6BD7 0x00007ff8099f5000 /usr/lib/liblangid.dylib
[ 66] B0588660-5DA9-32D3-B22A-A1A99E30AEDD 0x00007ff809374000 /System/Library/PrivateFrameworks/CoreSVG.framework/Versions/A/CoreSVG
[ 67] 6563E632-526D-3C88-8035-049FCCA8CA93 0x00007ff8052ec000 /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
[ 68] 9E61881D-8696-3CD4-B39E-A03226C73C13 0x00007ff81174f000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
[ 69] 97D6C271-552D-3142-9F1C-46339C638238 0x00007ff80bd81000 /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
[ 70] 6585C6D8-14FF-324D-9D6E-4265320B7F91 0x00007ff808cab000 /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
[ 71] FDAB95E7-FF13-3B52-A0C8-577B09E0D739 0x00007ff806cf8000 /usr/lib/libDiagnosticMessagesClient.dylib
[ 72] 75C47248-6493-322D-B8B1-75D803C0695D 0x00007ff80935b000 /System/Library/PrivateFrameworks/DFRFoundation.framework/Versions/A/DFRFoundation
[ 73] 7B331D9E-9042-3749-9C38-B6F312DB1B8F 0x00007ff8026c9000 /usr/lib/libicucore.A.dylib
[ 74] 51ABB8AE-4D85-382B-8C2F-F052A2B6B7CB 0x00007ff80dd1b000 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
[ 75] 30ED6EDD-4BA9-3C41-A068-D7E4E0ED999F 0x00007ff80cf31000 /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
[ 76] 3780AE56-F986-3D92-8A43-5F70B97F98E0 0x00007ff90942f000 /System/Library/PrivateFrameworks/TextInput.framework/Versions/A/TextInput
[ 77] 47743257-CB8D-3FB4-8301-4CA88A8E4BD8 0x00007ff80526f000 /usr/lib/libMobileGestalt.dylib
[ 78] 06FDECD6-9F69-397B-B1E2-A8226C0BA7ED 0x00007ff809067000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
[ 79] FE25FA55-548B-3A42-84BB-31B16EACE40E 0x00007ff807495000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
[ 80] 335C4B26-A04B-32D0-A36A-EED189354387 0x00007ff80236e000 /System/Library/Frameworks/Security.framework/Versions/A/Security
[ 81] 0DE0F225-4E2D-3293-A459-1F83175CF4FD 0x00007ff8110c7000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
[ 82] A577AAF1-F23B-327E-92C7-50DB82874412 0x00007ff8077f3000 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
[ 83] 9BE547D0-0AF1-3470-AFDE-2AC4CD34441E 0x00007ff801c38000 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
[ 84] 2794A2C9-DD2D-3B3C-B764-960DB8798A9F 0x00007ff806de7000 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
[ 85] 7616DAD2-6D00-3C17-A503-2977C267CA8C 0x00007ff80c6f1000 /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
[ 86] DCFB7559-BAD5-31EE-BD37-8F5FF440197C 0x00007ff80526e000 /usr/lib/libenergytrace.dylib
[ 87] BCC679A9-324C-3D77-AD5D-D591BEFC73D5 0x00007ff802ccd000 /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
[ 88] 4FB0520A-0FD5-300E-8EAA-3AAEB094E77D 0x00007ff8114b7000 /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
[ 89] 3CE53513-F4DC-3413-BC6E-FD2B80A076B1 0x00007ff807a2d000 /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
[ 90] 709FFB83-12FA-304D-A20A-5400B17AAB45 0x00007ffa1910d000 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
[ 91] 399ADD85-86F1-3ACB-A80D-F90C5AF49BA2 0x00007ff80a657000 /System/Library/PrivateFrameworks/MobileKeyBag.framework/Versions/A/MobileKeyBag
[ 92] BAEA0728-3071-34CC-A355-BD9A8B3549B3 0x00007ff805d57000 /System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync
[ 93] C09709B3-B4C5-3737-B4DF-DD65C670B1EA 0x00007ff8095eb000 /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
[ 94] 24524B13-4C0A-3F56-BA83-178AA8384256 0x00007ff8093a4000 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
[ 95] B3D7673F-F2C8-3297-ADA2-C0AC7FA03839 0x00007ff80b121000 /System/Library/PrivateFrameworks/SoftLinking.framework/Versions/A/SoftLinking
[ 96] 64D87D69-6952-3A64-90EC-D026479DF306 0x00007ff80dee6000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
[ 97] 08004053-5C3C-3749-A314-9D3EEF9440E4 0x00007ff805e55000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
[ 98] B0DEE8AC-2D42-3D48-BB85-05C0447CB857 0x00007ff80cdf0000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
[ 99] 34813677-724D-3028-A36C-24CFA9FF02F9 0x00007ff80e274000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
[100] 5CF45952-2320-305C-B019-9817ED9C814A 0x00007ff80e26c000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy
[101] D47B54B2-262E-3824-A8D4-0D01A49CCCB6 0x00007ff80ded6000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
[102] AFA80743-2279-362C-A4A4-F17A5C10806F 0x00007ff80b0e9000 /usr/lib/liboah.dylib
[103] E91DCE0B-F5E5-30C4-B9EC-340B1E2127BF 0x00007ff80b11d000 /usr/lib/libfakelink.dylib
[104] C57512E9-AD15-3B65-AD71-893469DF60F1 0x00007ff808f2b000 /System/Library/PrivateFrameworks/FontServices.framework/libFontParser.dylib
[105] 46C45D05-30BC-3800-883D-9FB86C83E5CD 0x00007ff807ade000 /usr/lib/libxml2.2.dylib
[106] E9A42D7F-04B9-3D22-ACE5-46A1C2ECACE7 0x00007ff804dc7000 /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
[107] 225C0486-8A9A-33E1-9A25-D9D126616BF0 0x00007ffb060e3000 /System/Library/PrivateFrameworks/FontServices.framework/Versions/A/FontServices
[108] A6E851B2-524E-3887-8E9B-FB6A3F1327EB 0x00007ff80c2a8000 /System/Library/PrivateFrameworks/OTSVG.framework/Versions/A/OTSVG
[109] 700E1C13-E1AE-37C2-B62E-F9AA60A042D4 0x00007ff80b3a5000 /usr/lib/libcompression.dylib
[110] 106DC550-5AAC-3E46-8A31-C578814805AE 0x00007ff8077a8000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
[111] 3B20FE78-1839-3DFB-928E-6AC0929CB06E 0x00007ff800ef6000 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
[112] B8141B26-6316-38FB-86CF-0E8F28976796 0x00007ff80b25e000 /usr/lib/libarchive.2.dylib
[113] 6830223D-E9FA-3F74-92B7-146395C3C10C 0x00007ff806729000 /usr/lib/libsqlite3.dylib
[114] A23FF437-8A57-3B02-862A-2E6EF4008BB1 0x0000000000000000 /usr/local/Cellar/openssl@1.1/1.1.1s/lib/libcrypto.1.1.dylib
[115] 86F12E94-F238-3784-8668-6E55B80E58BB 0x00007ff80a758000 /usr/lib/libbsm.0.dylib
[116] 69B18789-B74A-3BA6-A476-4F798C8E3530 0x00007ff80b34d000 /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce
[117] 77CF4AB6-91CA-3F90-8256-68E38CB0E479 0x00007ff808cbd000 /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
[118] 0CF0E7DE-38DD-3230-96FD-1584EBAF2710 0x00007ffa19101000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
[119] 73181C5C-5F15-3559-B195-E3C3393F48E2 0x00007ffb061d8000 /System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/libGPUCompilerUtils.dylib
[120] FE2F54AD-5E59-396C-B877-85C8632BC7D8 0x00007ff806a3e000 /System/Library/PrivateFrameworks/RunningBoardServices.framework/Versions/A/RunningBoardServices
[121] E9D7C868-2045-3EA7-96BD-0CB98A522A6B 0x00007ff817749000 /System/Library/PrivateFrameworks/IOSurfaceAccelerator.framework/Versions/A/IOSurfaceAccelerator
[122] 9AF7DD29-6119-391D-BC17-ED91E8D4C82D 0x00007ff80c6ed000 /System/Library/PrivateFrameworks/WatchdogClient.framework/Versions/A/WatchdogClient
[123] 5E2DC2C6-FE3A-361C-9CFB-95E7E937B3EF 0x00007ff80168f000 /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
[124] 7EC64217-55B0-3946-BEEB-6786185C69E6 0x00007ff808e29000 /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
[125] 65321388-A44F-3C17-BB4F-FF1C629F4476 0x00007ff807bc2000 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
[126] 3893BAC5-BFC0-3483-B2E3-3D2F23A69DDA 0x00007ff80b39e000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
[127] 9CC16751-AB50-3C84-9BD8-80DC3B5172A2 0x00007ff80c72a000 /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
[128] C83BB866-C29E-39D1-A7CC-0250EC0FE3B4 0x00007ff806dee000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
[129] 2C9CEABF-886E-348E-8077-E3AB75B3B458 0x00007ff81148e000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
[130] B6E19D28-A2F5-3A30-8817-EF47601666DE 0x00007ff80bd6b000 /System/Library/PrivateFrameworks/IconFoundation.framework/Versions/A/IconFoundation
[131] DFDDFBC1-BC7C-37E3-B164-25AED3C1DB1B 0x00007ff8017bb000 /System/Library/PrivateFrameworks/AudioToolboxCore.framework/Versions/A/AudioToolboxCore
[132] 3F0D8867-6760-331F-9606-FF06C639C06A 0x00007ff80de58000 /System/Library/PrivateFrameworks/AudioSession.framework/Versions/A/AudioSession
[133] 8E7B3D95-1D47-3F17-9512-C5FCC30792C2 0x00007ff808e07000 /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
[134] 7776B75F-1131-3BCB-B3EC-4A628EF44058 0x00007ff80cc9f000 /usr/lib/libAudioToolboxUtility.dylib
[135] 135E9466-A5E2-307B-8622-33C7F1F8BE87 0x00007ff8099f7000 /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
[136] FB1E8EFA-1CCB-3E4F-8B59-8472ED6A8B8E 0x00007ff80adca000 /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
[137] 6B4A0F96-B462-3E90-9A8E-609D5AA59462 0x00007ff8099f1000 /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
[138] A693C050-06BD-3912-8288-04A2986A53E0 0x00007ff80a38b000 /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/Versions/A/IOMobileFramebuffer
[139] 71C42E75-7C51-367F-B7A5-B2B6D713C4FD 0x00007ffb18ae5000 /usr/lib/libCoreEntitlements.dylib
[140] 4566AF6C-E184-3D2B-BBD3-D02128B14E95 0x00007ff80a740000 /usr/lib/libcoretls.dylib
[141] E825862A-C2F4-3D8D-B1E0-43958D48EE49 0x00007ff80b889000 /usr/lib/libcoretls_cfhelpers.dylib
[142] 368BD235-EB5B-3696-A9CF-07613A27FE86 0x00007ff80b3a0000 /usr/lib/libpam.2.dylib
[143] 593786B2-6387-30AF-81BC-8F55B7CD2E20 0x00007ff80b8f8000 /usr/lib/libxar.1.dylib
[144] 9B3EBB26-7635-38B6-9DFA-734C5D2B5D19 0x00007ff8110b7000 /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
[145] 1FCFE054-3E60-3FE8-8E07-E95814891A88 0x00007ff80ce58000 /System/Library/PrivateFrameworks/TextureIO.framework/Versions/A/TextureIO
[146] D0244AD7-2BA9-369A-BB47-A583E21461B9 0x00007ff80ba93000 /usr/lib/libate.dylib
[147] D3406E10-9BEA-3711-BE7B-5EA5BCC264F8 0x00007ff8052d3000 /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
[148] 48567DF6-7B0F-368C-B0A9-A3B7D8D9C3F2 0x00007ff80c2f0000 /System/Library/PrivateFrameworks/AppServerSupport.framework/Versions/A/AppServerSupport
[149] 3EAB32A8-71CA-3B61-987F-729208FAF14E 0x00007ff80e5b4000 /System/Library/PrivateFrameworks/perfdata.framework/Versions/A/perfdata
[150] 3CE99AC6-A5A8-384A-A097-423085653E0F 0x00007ff80dec6000 /usr/lib/libAudioStatistics.dylib
[151] 255E7D7D-62A7-3DDF-8282-AFC2F674161F 0x00007ff905bbd000 /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
[152] 5C7A0B5F-A0E6-3203-9D74-AC50C69FF19D 0x00007ff80bb2a000 /usr/lib/libIOReport.dylib
[153] 07B630AE-2041-3599-9545-4CF4BA0BA866 0x00007ff80b0b6000 /usr/lib/system/libkxld.dylib
[154] 697BCE9F-E20D-3F73-80B6-D5CCF2015561 0x00007ff807a61000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
[155] 6615F1A1-199D-396D-9522-22804F6B6896 0x00007ff802967000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
[156] 3C7E758C-9199-338B-A530-9D93FB4C4112 0x00007ff806d4b000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
[157] 0DC0742D-444A-33A2-A837-E5DE355316BB 0x00007ff80aded000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
[158] 631B5AFD-B60C-35B6-8A88-DB81A18536C9 0x00007ff80b2e5000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
[159] 2176FD2A-7536-3417-ABEB-4B4190C429A9 0x00007ff806a94000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
[160] 229E19AC-2C3A-3513-B6D2-EACBC6432299 0x00007ff80086b000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
[161] E8F73A5A-2BA3-3B41-A199-66A09C5A9DE1 0x00007ff80b820000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
[162] 42F85D0F-BC59-38C4-AA40-899E573F5AE2 0x00007ff807a6e000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
[163] AC5939D8-11C0-3E2E-B1A5-859DE2E5D799 0x00007ffa1915c000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
[164] 8DD611D6-EBBF-3DFD-B9AB-AAC34ADA0B59 0x00007ffa19120000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
[165] 3A5D2115-E819-38D4-A0C8-048FDCE0E78F 0x00007ffa19329000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
[166] 379FAB19-C5C3-34D9-B292-F6AED26A73F4 0x00007ff8099ef000 /System/Library/PrivateFrameworks/AggregateDictionary.framework/Versions/A/AggregateDictionary
[167] 9A7CE793-5117-3177-AA22-CB9D00433041 0x00007ff80b88b000 /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
[168] 11A4C5BA-11FC-3C09-89CA-81FFF17E11B9 0x00007ffa1a738000 /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
[169] 63E0D2CD-9D4B-30B5-ADA4-C4D7E61387DE 0x00007ff80be8e000 /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
[170] 7B4909F1-0286-3A0E-A23C-169734EF7BE7 0x00007ff80be7f000 /System/Library/PrivateFrameworks/GraphVisualizer.framework/Versions/A/GraphVisualizer
[171] 3CFD717F-FEAC-31D5-9A63-BA31703F2DA7 0x00007ff80cd78000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
[172] 07711914-633C-3F18-9D6C-49E2ECBC3F96 0x00007ff80cd81000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
[173] BCB8D36B-8B4C-3DC2-A269-4C88A3744D4B 0x00007ff80ccd0000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
[174] 652BF8C6-C53E-3B87-907B-6F7B0C98470B 0x00007ff80ccf1000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
[175] 839C994D-992F-3C85-8EA7-00728C5DC45C 0x00007ff80cde1000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
[176] BBD595A1-ECA4-36FF-BEC8-894759D145F3 0x00007ff80c60b000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
[177] 50BBC474-3879-316F-BAE3-E25005BAB61C 0x00007ff80bd48000 /usr/lib/libexpat.1.dylib
[178] DECA18BF-307A-3EDD-950E-5CF5DC716988 0x00007ff80c5c0000 /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
[179] B6F96EA5-2D9E-350E-96FC-BEB45E838614 0x00007ff80e201000 /usr/lib/libcups.2.dylib
[180] F1927852-101D-3D72-839C-BFA345194DE0 0x00007ff80cdb1000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATSUI.framework/Versions/A/ATSUI
[181] 781728D1-7D6F-3EE0-87B1-02A583D6F5A7 0x00007ff80c2f8000 /System/Library/PrivateFrameworks/FontServices.framework/libhvf.dylib
[182] A99783BA-FA64-3969-A278-D0AB953CE5F8 0x00007ff80b370000 /usr/lib/libapple_nghttp2.dylib
[183] 041A47FA-A477-3AB4-BFA2-1247B0584885 0x00007ff8043d6000 /usr/lib/libnetwork.dylib
[184] 0FED517C-EDB4-3CC7-9483-312B19A9D8DF 0x00007ff80b86f000 /usr/lib/liblzma.5.dylib
[185] C396C4CC-256F-3818-8111-06C4FC1A8F96 0x00007ffb060e4000 /System/Library/PrivateFrameworks/FontServices.framework/libXTFontStaticRegistryData.dylib
[186] E2C73515-E473-3D81-B411-9F91F50ADD1F 0x00007ff80adda000 /usr/lib/libbz2.1.0.dylib
[187] 73166A13-A2AD-34FF-A658-844F1C1AB7CA 0x00007ff80b15c000 /usr/lib/libiconv.2.dylib
[188] 0592F4B8-012B-3132-A5D4-0CDA3F3D74FE 0x00007ff806988000 /System/Library/PrivateFrameworks/BaseBoard.framework/Versions/A/BaseBoard
[189] 33F319AA-EBE7-35AB-8CBC-6F75D081C1F5 0x00007ff80cd71000 /System/Library/PrivateFrameworks/GPUWrangler.framework/Versions/A/GPUWrangler
[190] C6567EC4-C547-3E5F-A869-4DF1F4E673B6 0x00007ff80cd55000 /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
[191] 3FEC246A-ADCD-3C03-ACF9-8F7C041C530F 0x00007ff80cd7b000 /System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay
[192] A5722F2E-B3DD-39BD-B9A2-421FF7D83D9E 0x00007ff80cde6000 /System/Library/PrivateFrameworks/CMCaptureCore.framework/Versions/A/CMCaptureCore
[193] EEE5572C-C9D1-352D-8631-BC7552AD21AE 0x00007ff809973000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSCore.framework/Versions/A/MPSCore
[194] F523722A-DD63-3A9C-B224-93EC7C6FE17D 0x00007ff80ad35000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSImage.framework/Versions/A/MPSImage
[195] 3F83655B-BD83-36D8-90D6-A7ED00C7A1A7 0x00007ff80a7db000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork
[196] 7AFEA416-25AC-3F4B-A3B6-E1320A971A89 0x00007ff80ac4f000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix
[197] D33B3573-C235-3312-B605-582CC4E09133 0x00007ff80aa0a000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSRayIntersector.framework/Versions/A/MPSRayIntersector
[198] 232B00F4-00D8-3706-9A32-C771506BEB8B 0x00007ff80ac87000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNDArray.framework/Versions/A/MPSNDArray
[199] 8E40C786-E711-3F6D-BCCB-AFA3CDB8EE1C 0x00007ffa1ebe1000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSFunctions.framework/Versions/A/MPSFunctions
[200] D39A1BE9-17DD-3903-8639-63B3DA5A9817 0x00007ff80bcf8000 /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
[201] F96B48B8-A53F-3F79-BB3B-5AFD72565079 0x00007ff80b939000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
[202] 2B3E5385-1D67-31CD-8D6D-A441122B62B5 0x00007ff80a1b6000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
[203] 358A39C9-B53F-3D82-B301-7BEE378710D5 0x00007ff800be6000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
[204] 4A63B656-1125-3CF5-BA97-9210C5371144 0x00007ff80b482000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
[205] 7EBF4A7E-D8DD-338B-83EB-3B216DC85330 0x00007ff80a7c5000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
[206] 9118E1EC-6F71-3ACC-8EF8-74854A5C4637 0x00007ff80b388000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
[207] 33A6646E-0D73-3549-942F-3F200A07DDF3 0x00007ff80b47c000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
[208] BF8D3AE3-EA29-3FE0-9B57-332D9E3FDEB0 0x00007ff809ae2000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
[209] E639FBBD-7BD2-32C2-A8A1-7E03D9B7DCDD 0x00007ff800e80000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
[210] C517AE1A-8F49-3AD3-BDAD-502C51AD2BF3 0x00007ff817041000 /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
[211] 13BBC4F3-8E54-3D76-9851-59892A31FA74 0x00007ff901de5000 /System/Library/PrivateFrameworks/OSAServicesClient.framework/Versions/A/OSAServicesClient
[212] 1D6FB624-33BE-3CC2-94D1-A6932A433D08 0x00007ff80bdf2000 /System/Library/PrivateFrameworks/MediaExperience.framework/Versions/A/MediaExperience
[213] CF225C9B-DF1F-38C4-9014-3303D7118EA9 0x00007ff80670f000 /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
[214] 7484038B-6DB6-3991-AF3E-6A3ADB6F5891 0x00007ff80dcea000 /System/Library/PrivateFrameworks/AudioSession.framework/libSessionUtility.dylib
[215] 2F037613-9FBE-3345-A742-5C259C78FE0A 0x00007ff80a768000 /usr/lib/libmecab.dylib
[216] FED76731-FC28-3BDF-AE78-B31C923E22FC 0x00007ff800f72000 /usr/lib/libCRFSuite.dylib
[217] 21611686-0D03-32D7-A2D6-377602FEFF99 0x00007ff80a7c2000 /usr/lib/libgermantok.dylib
[218] 93907177-8D86-3A20-A2E6-7507A12C9CBD 0x00007ff80b34b000 /usr/lib/libThaiTokenizer.dylib
[219] C215C6DF-CBC8-3509-B512-F41E91E9C678 0x00007ff80e121000 /usr/lib/libSMC.dylib
[220] 9DF88F54-9E41-341E-9CFB-BE58637BC3BD 0x00007ff80e5c1000 /usr/lib/libperfcheck.dylib
[221] 95A20288-AB52-3923-99D0-8EE0AD08F5BF 0x00007ff90666a000 /usr/lib/libmis.dylib
[222] 817887AF-E399-3BCB-9051-660B819947F2 0x00007ff80a734000 /usr/lib/libCheckFix.dylib
[223] 62BBADA0-C183-3B34-973A-35668535BD70 0x00007ff806cfb000 /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities
[224] E6C8FFCF-A557-3566-A920-6241E74AA5AC 0x00007ff800fa7000 /usr/lib/libmecabra.dylib
[225] E0393E44-B5C7-3F83-80FE-830C08C81503 0x00007ff807a45000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
[226] A10FFEA4-7C98-3C88-8636-6A6DE429F459 0x00007ff802c91000 /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore
[227] DFA1866E-34EF-3EB9-8C24-E8A583CA15F8 0x00007ff8015a1000 /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
[228] 388FC575-E9F2-37D3-BD70-7A4E7A3BF1F6 0x00007ff80b90a000 /usr/lib/libxslt.1.dylib
[229] 9BB1D6E1-7377-3FE0-82CE-15AB38C41534 0x00007ff80a71c000 /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement
[230] CA0374EF-5CA0-3819-B67A-4EA9A0334718 0x00007ffa19129000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
[231] 60CEBDCC-79BF-34F5-88F1-578D1A874C65 0x00007ff80b906000 /usr/lib/libutil.dylib
[232] D784C680-AE67-35B5-8230-B9BC85F157D1 0x00007ff80e5d0000 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
[233] FB98E334-A7A8-3C4E-9697-81A156B0A2BC 0x00007ff80e5df000 /System/Library/Frameworks/GSS.framework/Versions/A/GSS
[234] BD9BF322-395C-34B4-B789-EA2E53511110 0x00007ff80df52000 /usr/lib/libresolv.9.dylib
[235] 9BA61ABC-17E0-3A24-81E2-473291F84668 0x00007ff80b122000 /usr/lib/libpcap.A.dylib
[236] 7DF7E783-7837-3608-85D9-FCE754B992D6 0x00007ff806b02000 /usr/lib/libdns_services.dylib
[237] FF123241-D1C4-301F-83D5-6A53F911B0CE 0x00007ff80b0af000 /usr/lib/libcharset.1.dylib
[238] 06600A94-6ABA-3FF9-9D1F-BFAF2E356589 0x00007ff800ac2000 /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools
[239] 68F2F70A-1523-3713-9976-63B7B4780E34 0x00007ff80e280000 /System/Library/PrivateFrameworks/AudioResourceArbitration.framework/Versions/A/AudioResourceArbitration
[240] F9E7F1C2-F82B-3B39-A616-CEDDF02BD753 0x00007ff812301000 /System/Library/PrivateFrameworks/PowerLog.framework/Versions/A/PowerLog
[241] 7C46AAA4-95CF-3FB9-B7E2-FA7F8512001D 0x00007ff809adb000 /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
[242] 86722254-6483-3258-94F3-54C38DB4E7A5 0x00007ff800e36000 /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
[243] 49C74EA5-654F-3EC6-BDCC-BADDCA73FC50 0x00007ff80b932000 /usr/lib/libChineseTokenizer.dylib
[244] EB65F1FE-96B7-3794-9C88-E2431351EA08 0x00007ff807a39000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
[245] 04B91291-C915-3041-86CD-9C1F898E0AFE 0x00007ff80a379000 /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
[246] EB90A303-7AFF-3470-A2C4-0887B051F149 0x00007ff80b24d000 /usr/lib/libcmph.dylib
[247] AAFEB8DC-8012-3505-94FB-F79BA96C9CE2 0x00007ffa1911d000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
[248] D74F42EA-23D7-38D4-A18C-2A3368D7289F 0x00007ff80c307000 /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
[249] 4A0E555B-7D44-3318-9E71-28E2950FA5CA 0x00007ff8151c4000 /System/Library/Frameworks/Kerberos.framework/Versions/A/Libraries/libHeimdalProxy.dylib
[250] 786AF330-7C15-3DD4-ABF8-F84E02E41947 0x00007ff80bd62000 /usr/lib/libheimdal-asn1.dylib
[251] C3C75E53-6874-3965-958E-089FCA5D22EE 0x00007ff80e62a000 /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
[252] ADADD1C4-7D6F-35DC-8A5F-3525A13DB86A 0x00007ff80a68f000 /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
[253] 50EEB647-3A3F-32D3-A04A-A747A21AEB6D 0x00007ffa19108000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
[254] E4D71E89-D325-37DF-B0BE-5F646D671FCB 0x00007ff806b12000 /System/Library/Frameworks/Network.framework/Versions/A/Network

As my expectations, libssh2.dylib seems to load /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib and /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib at 52 and 53.

Static linking seems may better refer to local placed static built path like ../libssh2-a.b.c/lib/libssh2.a as @yongchaofan 's method. But @yongchaofan 's makefile didn't described about -static linking, so I thought static build may not matter for testing FLTerm. But if I need to publish it to something FLTerm.app, maybe need to something many things to do copying dylibs to app inside and change dylib references with nametool.

rageworx commented 1 year ago

Dear @erco77 , @yongchaofan

Here is my clone FLTermEx repository to support macOS build and packaging as an app with Makefile with configure (only for macOS). Also removed sprintf() warnings too.

I think it should be helpful, do ./configure on macOS first, then make -f Makefile.macos.

Regards, Raph.

ps

dependency test for final MECH-O binary,

>  otool -L bin/tinyTerm2
bin/tinyTerm2:
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
    /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
    /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2299.30.112)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 61.0.0)
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1953.255.0)
    /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1690.3.3)
    /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1953.255.0)
    /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

No dependency found for brew specific libraries - but it doesn't able to make universal binary with brew static libraries..

rageworx commented 1 year ago

I've cloned your repo to https://github.com/rageworx/FLTermEx. This repository seems to abandoned, so I close this issue. Issues will continue to my cloned repo. Thanks.