Adoption orders are made upon application to the judge. Where an applicant has a husband or wife living, who is competent to join in the application, the husband or wife must join therein and the child by adoption becomes the child of both. The Provincial Officer is a necessary party to the application and must consent to the adoption. The consent is also required of the child if it has attained the age of fourteen years, or of the husband of the child if the child is a married woman, or of the natural parents of the child if living, or of its guardian, of the mother only in the case of an illegitimate child, or of the previous adoptive parent or parents where the child has been previously adopted, but the judge may dispense with the consent of any such person where that person is not able to act in his own right, or it is impossible to obtain consent, or if the judge for reasons which appear to him sufficient, and which are approved of by the Provincial Officer, deems it necessary or desirable that the con-sent should be dispensed with. Notice to the persons whose consent is required must be given.