C++ Guru Mantra
Whenever in pain while compiling through g++ blindly use the following: 1. -undefined dynamic_lookup : every other library not found, x86_64 errors are fixed. 2. locate your paths for shared libraries and use -L or -I to point to this location. 3. Read about shared and static libraries here [Edit] Dynamic lookup findings: You have to run the output in and around the files that have to be used as it looks up dynamically for it's dependencies and symbols. Θ Ω Sushant ♂