Update, I hade the -l option to specify the location of my csv file.
./geoip-generator -v -o custom_geoip.dat -l /etc/logstash/geoip/GeoLiteCity-NCA.csv
It seems to work, it takes a very long time but nothing happens. When I press Enter I have tue Wrong number of fields error message, again.
Thanks