Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebrew dependency #1

Open
polluks opened this issue Mar 24, 2024 · 0 comments
Open

Homebrew dependency #1

polluks opened this issue Mar 24, 2024 · 0 comments

Comments

@polluks
Copy link

polluks commented Mar 24, 2024

I'm using MacPorts

$ port list libsdl2
libsdl2                        @2.30.1         devel/libsdl2
$ otool -L neo
neo:
	/opt/homebrew/opt/sdl2/lib/libSDL2-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.5.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
$ ./neo
dyld[62802]: Library not loaded: /opt/homebrew/opt/sdl2/lib/libSDL2-2.0.0.dylib
  Referenced from: <FD86BD88-8118-3359-9716-B8281665B1D7> /Users/sah/g/neo6502-c/neo
  Reason: tried: '/opt/homebrew/opt/sdl2/lib/libSDL2-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/sdl2/lib/libSDL2-2.0.0.dylib' (no such file), '/opt/homebrew/opt/sdl2/lib/libSDL2-2.0.0.dylib' (no such file)
zsh: abort      ./neo
$ DYLD_LIBRARY_PATH=/opt/local/lib ./neo
dyld[62934]: Symbol not found: _iconv
  Referenced from: <78F86E9B-8762-368E-AE6E-07D3EC739F34> /opt/local/lib/libSDL2-2.0.0.dylib
  Expected in:     <BF47A1DF-1C9C-32CF-9C96-922FDB8FD634> /opt/local/lib/libiconv.2.dylib
zsh: abort      DYLD_LIBRARY_PATH=/opt/local/lib ./neo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant