You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I did not want to start an issue, this is something I could resolve locally and I need simple help.
It would seem that the lld linker does not see my LD_LIBRARY_PATH or something, where I have defined a list of folders too look for libraries, namely /opt/homebrew/lib folder, where I have libpng present. During build, the linker does not find libpng (ld64.lld: error: library not found for -lpng altough when I dry-run linker manually while providing additional -L /opt/homebrew/lib option, it does not complain about missing library). I wish to try and edit build configuration for, lets say, X86 target, so I can add my own additional options to scons that pass additional linker options in the future.
Where can I start my search, so I could for now manually add -L /opt/homebrew/lib option to the lld linker? Tried looking through code, but I lost patience.. ^_^'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I did not want to start an issue, this is something I could resolve locally and I need simple help.
It would seem that the
lld
linker does not see myLD_LIBRARY_PATH
or something, where I have defined a list of folders too look for libraries, namely/opt/homebrew/lib
folder, where I havelibpng
present. During build, the linker does not findlibpng
(ld64.lld: error: library not found for -lpng
altough when Idry-run
linker manually while providing additional-L /opt/homebrew/lib
option, it does not complain about missing library). I wish to try and edit build configuration for, lets say, X86 target, so I can add my own additional options to scons that pass additional linker options in the future.Where can I start my search, so I could for now manually add
-L /opt/homebrew/lib
option to thelld
linker? Tried looking through code, but I lost patience.. ^_^'Beta Was this translation helpful? Give feedback.
All reactions