I recently built and installed plplot from subversion. I then tried to rebuild the examples and discovered that "pkg-config --libs" outputs insufficient information...
$ make x01c /usr/bin/cc x01c.c -o x01c `PKG_CONFIG_PATH=/Users/davidm/local/lib/ pkgconfig pkg-config --cflags --libs plplotd` /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: - lqhull collect2: ld returned 1 exit status make: *** [x01c] Error 1 Prior to building from subversion, I had installed plplot via macports, which installs into /opt/local/.... I also have qhull installed in this same are too (also via macports). Now that I have built/installed plplot from subversion into ~/local/..., get this output from pkg-config... $ pkg-config --libs plplotd -L/Users/davidm/local/lib -lplplotd -lltdl -ldl -lm -lcsirocsa - lcsironn -lqhull -lqsastime This should also have "-L/opt/local/lib" in it. Of course, when installed via macports, it did have this because libplplotd happened also to be installed in /opt/local/lib. I think this should be pretty easy to fix in the cmake build files, but I'm afraid I'm too new to cmake to figure out where/how to fix this. Does anyone have any ideas? I can work around it (at least on Macs) by adding "LD_LIBRAY_PATH=/opt/local/bin" to the make command line, but I'd prefer to avoid doing that. Thanks, Dave ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel