Ted Drain <[EMAIL PROTECTED]> writes: > I'm trying to build matplotlib and basemap on a solaris box using the > latest SVN. My python, qt, tk, etc are all installed in a build > directory ($TOOLS). Under linux, the build goes fine and everything > works great. However, under solaris, both matplotlib and basemap > have link errors that say they can't find the python shared library > which is at $TOOLS/lib. Under linux, this shows up in the link line > as -L$TOOLS/lib but is missing on solaris. > > I'm trying to figure out how I can add -L$TOOLS/lib to the link > line. For matplotlib, I was able to just hand copy the error message > to the command line, add -L$TOOLS/lib, and rerun 'python setup.py > build' to get it to work. This doesn't work for basemap though as it > seems to generate some intermediate files that are needed.
how about # LD_LIBRARY_PATH=$TOOLS/lib:LD_LIBRARY_PATH LD_RUN_PATH=$TOOLS/lib:LD_LIBRARY_PATH python setup.py build Regards Berthold -- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel