Oscar Jaenada, co-star of “Pirates of the Caribbean: On Stranger Tides” and “The Losers,” will star opposite Marcia Gay Harden in indie drama “The Librarian.”

Jaenada will play the wounded lothario who leads Harden’s equally wounded librarian on an eco tour of Costa Rica. Variety first reported Harden’s attachment last week.

The film will be directed by Juan Feldman from a script by Joel Silverman.

“The Librarian is a beautiful tale of a wounded woman and a very flawed man who form a sweet and unlikely bond,” said Feldman, who is making his feature directorial debut.

Jaenada’s 2005 portrayal of flamenco dancer Camaron de la Isla earned him a Goya award for “Camaron: When Flamenco Became Legend.” He will sttar next in “Hands of Stone” with Robert DeNiro, “The Cold Light of Day” with Bruce Willis and “33 Dias” with Gywneth Paltrow in Carlos Saura’s French/Spanish co-production.

“The Librarian” shoots in July throughout Costa Rica. Janeada is repped by APA in the U.S. and by Media Arts in Spain.