Omnet++ : Could not determine GDB version using command: lldbmi2 --version dyld: Library not loaded: #rpath/LLDB.framework/LLDB - omnet++

I tried to debug a script on omnet++ getting the following message:
Could not determine GDB version using command: lldbmi2 --version dyld: Library not loaded: #rpath/LLDB.framework/LLDB Reason: image not found
Can you help me?
PS: i am using MacBook Air with Catalina version 10.15.7 . I don't have Xcode installed

Related

omnet++ debugging error on macbook M1 processor, 'Could not determine GDB version using command: lldbmi2 --version'

I am using omnet++ v.6.0 (on MacBook pro with an m1 processor) and the debugger gives me the following error:
Could not determine GDB version using command: lldbmi2 --version dyld
[4595]: Library not loaded: # rpath / LLDB.framework / LLDB
Referenced from:
/Users/gerald/Desktop/TESI/omnetpp-6.0/tools/macos.x86_64/bin/lldbmi2
Reason: tried:
'/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/LLDB'
(no such file),
'/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/LLDB'
(no such file ), '/Library/Frameworks/LLDB.framework/LLDB' (no such
file), '/System/Library/Frameworks/LLDB.framework/LLDB' (no such file)
Can you please help me to solve it?

ffmpeg Library not loaded

since updating ffmpeg, I get this error when using it:
dyld: Library not loaded: /usr/local/opt/gnutls/lib/libgnutls.30.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: Incompatible library version: ffmpeg requires version 59.0.0 or later, but libgnutls.30.dylib provides version 45.0.0
I've tried updating everything again and reinstalling but no luck
I'm using Mac OS 11.5.1

qemu-img dyld: Library not loaded: /usr/local/opt/nettle/lib/libnettle.6.dylib

I am trying to convert an image with qemu-img from VHDX to qcow2 on macOS 11.3.1 yet I get the following error message:
dyld: Library not loaded: /usr/local/opt/nettle/lib/libnettle.6.dylib
Referenced from: /usr/local/bin/qemu-img
Reason: image not found
Abort trap: 6
I have installed qemu using homebrew.
Turns out the problem was solved simply by reinstalling qemu using homebrew with the following:
brew reinstall qemu

dyld: Symbol not found: _clock_gettime after installing Golang

So, I recently downloaded Golang from this link:
https://golang.org/dl/go1.16.2.darwin-amd64.pkg
The installation was completed with no errors, but when I try running go version, this happens:
dyld: Symbol not found: _clock_gettime
Referenced from: /usr/local/go/bin/go
Expected in: flat namespace
Trace/BPT trap: 5
I'm running Mac OSX version 10.11.6
go1.16.2 needs an OS greater than MacOS 10.11.6 "OS X El Capitan" according to the golang download documents.
I installed go1.15.11 successfully on MacOS X version 10.11.6 .

AdaCore gnatstudio builds but won't run

Mac mini (2018)
OSX 10.15.5
XCode 11.5
GNAT 2020
Miniconda environment python 3.7.7
I have built gnatstudio from https://github.com/AdaCore/gps-master.
However, the command gnatstudio/obj/gnatstudio fails with:
dyld: Library not loaded: /gnatmail/sandbox/a2c2/x86_64-darwin/gcc-c/pkg/lib/libstdc++.6.dylib
Referenced from: /System/Volumes/Data/Applications_Packages/gps-master/gnatstudio/obj/gnatstudio
Reason: image not found
zsh: abort gnatstudio/obj/gnatstudio
I can find no reference to /gnatmail/sandbox/a2c2/x86_64-darwin/gcc-c/pkg/lib/libstdc++.6.dylib in my gps build instructions; not in any Makefile or gpr.
I have found libstdc++.6.dylib in /opt/GNAT/2020/lib, /opt/GNAT/2019/lib/gps and a few other less relevant locations.

Resources