how to solve duplicate symbols for architecture x86_64 code example Example: duplicate symbols for architecture x86_64 packages.each do |package_name, package|