gdb 8.2 can't recognized executable file on macOS Mojave 10.14
By : Sasi
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , The problem is that clang-1000.11.45.2 distributed with Apple LLVM version 10.0.0 add a new load command to o-mach executables named LC_BUILD_VERSION. code :
$ otool -l test.o
...
Load command 1
cmd LC_BUILD_VERSION
cmdsize 24
platform macos
sdk n/a
minos 10.14
ntools 0
...
/*
* The build_version_command contains the min OS version on which this
* binary was built to run for its platform. The list of known platforms and
* tool values following it.
*/
case BFD_MACH_O_LC_BUILD_VERSION:
break;
BFD_MACH_O_LC_BUILD_VERSION = 0x32
run the ``configure'' script here, e.g.:
./configure
make
To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
make install
|
macOS Mojave: invalid active developer path after updating to Mojave from High Sierra
By : user1916186
Date : March 29 2020, 07:55 AM
This might help you After upgrading to macOS Mojave, I tried to run GIT from Terminal but it kept giving me the following error: , Open Terminal, and run the following: code :
xcode-select --install
xcode-select --switch /Applications/Xcode.app
xcode-select --switch /Library/Developer/CommandLineTools
|
nasm - Can't link object file with ld on macOS Mojave
By : 1337c0d3r
Date : March 29 2020, 07:55 AM
should help you out ld needs -lSystem flag to prevent it from throwing this error. Also it needs -macosx_version_min to remove the warning. The correct way of using ld would be: ld hello.o -o hello -macosx_version_min 10.13 -lSystem.
|
Installing xdebug on MacOs Mojave - 'php.h' file not found
By : Sandy
Date : March 29 2020, 07:55 AM
I wish did fix the issue. I ran into this trying to compile xdebug on my system, I had to do the following to get it to work 1) (Re)install the command line tools (I had installed them at one point, but the files under /Library/Developer/CommandLineTools/ were missing so I must have deleted it...) code :
xcode-select --install
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
|
macOS Mojave 'ruby/config.h' file not found
By : Daniel Griffin
Date : December 05 2020, 12:24 PM
To fix the issue you can do macOS Catalina Issue reappeared in Catalina and I wasn't able to spot this package in the Developer SDK. Until better solution found, I was able to workaround this with rubyenv: https://github.com/orta/cocoapods-keys/issues/198#issuecomment-510909030 code :
brew install rbenv ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
rbenv install 2.6.3
rbenv global 2.6.3
xcode-select --install
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
|