Timeline for Find a shared library that isn't in its stated location
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2023 at 22:20 | answer | added | Marc Wilson | timeline score: 0 | |
Apr 20, 2023 at 17:32 | vote | accept | msj121 | ||
Apr 20, 2023 at 17:30 | answer | added | Allan | timeline score: 1 | |
Apr 20, 2023 at 17:04 | comment | added | mmmmmm | @msj121 If you /opt/local/lib then you put them there are need to be sure that they are what you want. They are probably installed via macports. If you did not put them there you need to check them as they could be old. | |
Apr 20, 2023 at 16:56 | comment | added | msj121 | @Allan Thank you so much! Found so far most of them in /opt/local/lib Much appreciated! If you add your idea as an answer I will mark it correct | |
Apr 20, 2023 at 16:47 | comment | added | Allan |
Permission denied is fine. find attempts to search everything including directories you don’t have permissions for. If you have no access to those directories, it’s a good bet your library won’t be there.
|
|
Apr 20, 2023 at 16:42 | comment | added | msj121 | @Allan Ah, I was trying something else wrong, okay - lets give it a shot and see what it can find. I'd prefer an answer that looks in specific assumed directories for the dylib, but lets see what it finds. Two questions, one I get permission denied on some folders is that okay to skip? Also can I stop on found solution? | |
Apr 20, 2023 at 16:39 | history | edited | msj121 | CC BY-SA 4.0 |
added 69 characters in body
|
Apr 20, 2023 at 16:36 | comment | added | Allan |
You just need a simple command like find / -name dylib to search every directory from the root on. To limit to /usr/local just add that to the command find /usr/local …
|
|
Apr 20, 2023 at 16:33 | history | asked | msj121 | CC BY-SA 4.0 |