worked.
but I am having a problem with another program loading the shared library
"libgiblib.so.1: cannot open shared object file: No such file or directory"
libgiblib.so.1 is in /usr/local/lib
i added /usr/local/lib to my PATH and recompiled but i still get the same error.
thanks for the time.