doublec16
03-05-2003, 06:23 PM
I have installed the pgplot library on my system, and I seem to be able to compile programs using the -lpgplot switch, and I have it in the directory with all the other libraries (/usr/local/lib), but when I try to run a demo program (included with the pgplot package) I get:
demo1: error while loading shared libraries: libpgplot.so: cannot open shared object file: No such file or directory
I have no idea why this isn't working. I also linked to the X11 library when I compiled yet it seems to be able to find that. Can anyone give me a clue as to why this doesn't work? Thanks.
demo1: error while loading shared libraries: libpgplot.so: cannot open shared object file: No such file or directory
I have no idea why this isn't working. I also linked to the X11 library when I compiled yet it seems to be able to find that. Can anyone give me a clue as to why this doesn't work? Thanks.