Changing library pathing to library

Joined
Feb 25, 2024
Messages
4
Reaction score
0
My SDL2.dylib searches for /usr/local/lib/libSDL2.dylib, which is invalid. How do I change this to @rpath/SDL2.dylib? I tried install_name_tool, but it does not work for some reason.
 
Joined
Nov 23, 2023
Messages
56
Reaction score
3
My SDL2.dylib searches for /usr/local/lib/libSDL2.dylib, which is invalid. How do I change this to @rpath/SDL2.dylib? I tried install_name_tool, but it does not work for some reason.
There might be a symbolic link named "SDL2.dylib" somewhere else in your system that takes precedence. Run this command in your terminal to check:

ls -l /usr/local/lib/SDL2.dylib

If it shows a symbolic link pointing elsewhere, you might need to address that or adjust your search path accordingly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top