[Insight-developers] cmake on solaris8

Stephen R. Aylward aylward@unc.edu
Fri, 03 May 2002 18:37:05 -0400


Doh - just read the bottom of your email....yup, it is the 
LD_LIBRARY_PATH.   You don't want to fiddle with it much, but sometimes 
it needs some fiddling...sigh...   It really should include /usr/local/lib.

s

Lydia Ng wrote:

> Dear All,
> 
> I am having some problems building cmake on solaris8.
> 
> This is what I did:
> 
> [1] Downloaded CMake1.2-src-unix.tar.Z from 
> www.cmake.org/HTML/Download.html
> 
> [2] Cd into the CMake1.2 direcory
> 
> [3] ran "./configure" and got the following error message
> 
> c++ cmake.o cmakewizard.o cmakemain.o cmMakeDepend.o cmMakefile.o
> cmMakefileGenerator.o cmRegularExpression.o cmSourceFile.o
> cmSystemTools.o cmDirectory.o cmUnixMakefileGenerator.o cmCommands.o
> cmTarget.o cmCustomCommand.o cmCacheManager.o cmCableClassSet.o
> cmListFileCache.o cmSourceGroup.o
> -DCMAKE_ROOT_DIR='"/a/homer/users/lng/cmake-1.2-solaris8"' -g -O2
> -DCMAKE_HAS_AUTOCONF -I/a/homer/users/lng/cmake-1.2-solaris8/Source  -o
> cmake
> gmake[1]: Leaving directory
> `/a/homer/users/lng/cmake-1.2-solaris8/Source'
> ld.so.1: ./Source/cmake: fatal: libstdc++.so.2.10.0: open failed: No
> such file or directory
> Killed
> gmake: *** No rule to make target `depend'.  Stop.
> 
> Questions for the gurus:
> ==========================
> 
> (a) Is this a problem with the way the gcc is installed or is it a path
> problem?
> 
> (b) I know if I fiddle with my LD_LIBRARY_PATH to include /usr/local/lib
> then 
> everything is okay. Somehow I don't think this is the right thing to do?
> Searching on the web, the general consenus is that fiddling with
> LD_LIBRARY_PATH
> is BAD.
> 
> Does someone know what the problem might be?
> 
> Other useful information:
> durian:/a/homer/users/lng/cmake-1.2-solaris8/Source[29] uname -a
> SunOS durian 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-60
> durian:/a/homer/users/lng/cmake-1.2-solaris8/Source[30] c++ -v
> Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
> 
> 
> Thanks,
> Lydia
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
> 


-- 
===============================================
Dr. Stephen R. Aylward
Assistant Professor of Radiology
Adjunct Assistant Professor of Computer Science
http://caddlab.rad.unc.edu
aylward@unc.edu
(919) 966-9695