BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
391 stars 200 forks source link

Fail to launch linphone on Mac OS 10.15 #766

Open allanwxm opened 1 year ago

allanwxm commented 1 year ago

I compile the latest linphone-desktop code on Mac OS 10.15 and run the application with command build/linphone-app/linphone --verbose, the application fails to launch and the log is below. Please help me solve this problem. Thank you.

dyld: Library not loaded: @rpath/libsrtp2.2.4.2.dylib Referenced from: /xxx/linphone-desktop/build/linphone-sdk/desktop/Frameworks/mediastreamer2.framework/Versions/A/mediastreamer2 Reason: image not found Abort trap: 6

There are some error logs related to mediastreamer2 when compiling target all.

ERROR: Cannot resolve rpath "@rpath/libapp-plugin.dylib" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib") ERROR: Cannot resolve rpath "@rpath/libEQt5Keychain.1.dylib" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib") ERROR: Cannot resolve rpath "@rpath/linphone++.framework/Versions/A/linphone++" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib") ERROR: Cannot resolve rpath "@rpath/linphone.framework/Versions/A/linphone" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib") ERROR: Cannot resolve rpath "@rpath/belcard.framework/Versions/1/belcard" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib") ERROR: Cannot resolve rpath "@rpath/mediastreamer2.framework/Versions/A/mediastreamer2" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib") ERROR: Cannot resolve rpath "@rpath/ortp.framework/Versions/A/ortp" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib") ERROR: Cannot resolve rpath "@rpath/bctoolbox.framework/Versions/A/bctoolbox" ERROR: using QSet("/Users/xxx/Qt/5.15.2/clang_64/lib")