[Insight-users] ITKApps dlopen link error
Matt McCormick
matt.mccormick at kitware.com
Wed Feb 15 13:48:35 EST 2012
Hi Félix,
Try building FLTK from source (use the ITKApps superbuild), so the
same compiler and glibc is used.
Hope this helps,
Matt
On Wed, Feb 15, 2012 at 1:38 PM, Félix C. Morency
<felix.morency at gmail.com> wrote:
> Hi,
>
> I'm trying to build latest ITKApps (commit
> f4a8669c0a8767d959b7ef84ac9d8fdc1109d5f1) against latest VTK (commit
> 88f86965da57d5f04ce059456391b8a133449ff2), ITK 4.1.0rc2 and FLTK 1.3
> (from Ubuntu repository). When linking DistanceMapFilter, I get:
>
> Linking CXX executable DistanceMapFilter
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfltk.a(Fl_Preferences.o):
> undefined reference to symbol 'dlopen@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'dlopen@@GLIBC_2.2.5' is defined in DSO
> /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so
> so try adding it to the linker command line
> /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so:
> could not read symbols: Invalid operation
>
> Any ideas?
>
> --
> Félix C. Morency, M.Sc.
> Plateforme d’analyse et de visualisation d’images
> Centre Hospitalier Universitaire de Sherbrooke
> Centre de recherche clinique Étienne-Le Bel
> Local Z5-3031 | 819.346.1110 ext 16634
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list