[Insight-developers] The build problem I mentioned.

Bill Hoffman bill.hoffman@kitware.com
Mon, 21 Oct 2002 08:18:52 -0400


It is missing the -ldl option.

At 01:45 PM 10/18/2002 -0400, Mark Foskey wrote:
>Here's the start of the output of make, for the failed build I described.  I notice it says "-rdynamic", and I don't know why.  I will try to reproduce the problem to see if perhaps it's because of something I did wrong.
>
>This is from an email I sent Brad yesterday (hitting ^R and thinking I was sending to the list).
>
> /usr/local/bin/cmake -S/WorkSpace/foskey/SampleProject
> -O/WorkSpace/foskey/SampleProject-Linux
> -H/WorkSpace/foskey/SampleProject -B/WorkSpace/foskey/SampleProject-Linux
> c++ -rdynamic  itkSampleProject.o
> -L/WorkSpace/foskey/Insight-Linux/bin -lVXLNumerics -lITKCommon
> -Wl,-rpath,/WorkSpace/foskey/Insight-Linux/bin  -o itkSampleProject
> /WorkSpace/foskey/Insight-Linux/bin/libITKCommon.a(itkDynamicLoader.o):
> In function `itk::DynamicLoader::OpenLibrary(char const *)':
> /WorkSpace/foskey/Insight/Code/Common/itkDynamicLoader.cxx:261:
> undefined reference to `dlopen'
> [...many more errors]
>
>-- 
>Mark Foskey    (919) 843-5436   Computer-Aided Diagnosis and Display Lab
>mark_foskey@unc.edu             Department of Radiology, CB 7515, UNC
>http://www.cs.unc.edu/~foskey   Chapel Hill, NC  27599-7515
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers