int func5(FUNPTR fp, int n) {
    void *fptr;
    int retval;

    fptr = dlsym(_Chsample_handle, "func5_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return -1;
    }
    dlrunfun(fptr, &retval, func5, fp, n);
    return retval;
}
