Is same-sex marriage illegal in Gabon?

Same-sex marriage is not legal in Gabon in the sense that it cannot be legally performed and it is not recognized by the government. It is not "illegal" however in the sense that it is punishable under the penal code. Reportedly, same-sex sexual activity has never been illegal in Gabon.