[Insight-users] ITKApps dlopen link error

Félix C. Morency felix.morency at gmail.com
Wed Feb 15 20:19:16 EST 2012


It doesn't work when I try to build against FLTK 1.3 build from source
(same error) but it works when building with the superbuild in
ITKApps.

Solved. Thank you.

-Félix

On Wed, Feb 15, 2012 at 3:15 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> fltk is really flaky. We had trouble getting all of the correct cmake
> options set to get it to build with ITK. As matt suggested, please try
> the superbuild in ITKApps.
>
> 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
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com



-- 
--
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


More information about the Insight-users mailing list