int cvInitLineIterator(CvArr* image, CvPoint pt1, CvPoint pt2, CvLineIterator* line_iterator, int connectivity, int left_to_right) {
    void *fptr;
    int retval;

    fptr = dlsym(_Chcv_handle, "cvInitLineIterator_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return -1;
    }
    dlrunfun(fptr, &retval, cvInitLineIterator, image, pt1, pt2, line_iterator, connectivity, left_to_right);
    return retval;
}
