[Insight-developers] cmake on solaris8

Lydia Ng lng@insightful.com
Fri, 3 May 2002 16:23:13 -0700


Out of curiosity - how many people out there have to explicitly
set their LD_LIBRARY_PATH ?

- Lydia

> -----Original Message-----
> From: Stephen R. Aylward [mailto:aylward@unc.edu]
> Sent: Friday, May 03, 2002 3:37 PM
> To: Lydia Ng
> Cc: insight-developers@public.kitware.com
> Subject: Re: [Insight-developers] cmake on solaris8
>=20
>=20
> Doh - just read the bottom of your email....yup, it is the=20
> LD_LIBRARY_PATH.   You don't want to fiddle with it much, but=20
> sometimes=20
> it needs some fiddling...sigh...   It really should include=20
> /usr/local/lib.
>=20
> s
>=20
> Lydia Ng wrote:
>=20
> > Dear All,
> >=20
> > I am having some problems building cmake on solaris8.
> >=20
> > This is what I did:
> >=20
> > [1] Downloaded CMake1.2-src-unix.tar.Z from=20
> > www.cmake.org/HTML/Download.html
> >=20
> > [2] Cd into the CMake1.2 direcory
> >=20
> > [3] ran "./configure" and got the following error message
> >=20
> > 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=3D'"/a/homer/users/lng/cmake-1.2-solaris8"' -g -O2
> > -DCMAKE_HAS_AUTOCONF=20
> -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.
> >=20
> > Questions for the gurus:
> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> >=20
> > (a) Is this a problem with the way the gcc is installed or=20
> is it a path
> > problem?
> >=20
> > (b) I know if I fiddle with my LD_LIBRARY_PATH to include=20
> /usr/local/lib
> > then=20
> > everything is okay. Somehow I don't think this is the right=20
> thing to do?
> > Searching on the web, the general consenus is that fiddling with
> > LD_LIBRARY_PATH
> > is BAD.
> >=20
> > Does someone know what the problem might be?
> >=20
> > 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)
> >=20
> >=20
> > Thanks,
> > Lydia
> >=20
> > _______________________________________________
> > Insight-developers mailing list
> > Insight-developers@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-developers
> >=20
>=20
>=20
> --=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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
>=20
>=20
>=20