Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Installed Git 1.9.0 Fails, OS X 10.8.5 #16

Closed
eeide opened this issue Mar 17, 2014 · 2 comments
Closed

Installed Git 1.9.0 Fails, OS X 10.8.5 #16

eeide opened this issue Mar 17, 2014 · 2 comments

Comments

@eeide
Copy link

eeide commented Mar 17, 2014

On my MacBook Pro ("MacBookPro9,1", mid-2012) running OS X 10.8.5, the binaries installed by the current 1.9.0 installer seem not to work.

E.g., I get:

eeide% git remote -v
dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap

@Danack
Copy link

Danack commented Jul 22, 2014

Hi @timcharper,

It looks like this problem is due to a missing compile flag, to tell the compiler to support earlier versions of OSX. From StackOverflow

I added -mmacosx-version-min=10.5 to my compile flags and this seems to help resolve the issue for 10.5.x, 10.6.x and 10.7.x clients, whatever that issue is.

"The compiler and linker are capable of using features and performing optimizations that do not work on older OS versions. -mmacosx-version-min tells the tools what OS versions you need to work with, so the tools can disable optimizations that won't run on those OS versions. If you need to run on older OS versions then you must use this flag.

I'm pretty sure the performance gained by the extra optimisations would be minimal. Having support back for previous versions of OSX would be great.

@timcharper
Copy link
Owner

Confirmed fixed. Sorry!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants