Symbol not found: _iconv
Using Qt 5.7 on OS X El Capitan, I get the following error trying to run my app from within Qt Creator:
dyld: Symbol not found: _iconv Referenced from: /usr/lib/libcups.2.dylib Expected in: /sw/lib//libiconv.2.dylib in /usr/lib/libcups.2.dylib The program has unexpectedly finished
However, running the executable from the command line, it is starting up normally and running fine.
What is puzzling is the reference to the /sw/lib directory, which is created by fink.
Any idea how to fix this?
How did you install Qt ?
@SGaist From qt-opensource-mac-x64-clang-5.7.0.dmg.
Check the environment variables in the project panel to see if
/sw/is searched before
@SGaist Yup, it was. I replace both
I then did a Build/Clean All and then a Build/Rebuild Project (just to make sure, not sure if this was really needed).
And yes, for now, that is working.
Thanks for the suggestion, @SGaist
At this moment, I cannot use Topic Tools and set this topic as solved...
Because you didn't ask a question. Use the button to "Ask as question" and then you'll have the "Mark as solved" that should appear.