/usr/bin/ld: cannot find -lANN

Lucian Goron luciangoron at gmail.com
Wed May 12 12:59:16 UTC 2010


update ! on the problem at hand...

I performed a search after the following keyword: libANN
And found this:

lucian at schwarz:~/work/ransac/build$ find /home/lucian/work/ -name 'libANN.*'
/home/lucian/work/common/ann/lib/libANN.a
lucian at schwarz:~/work/ransac/build$

But it is a static object (.a), there where no shared libraries (.so) !?



On Wed, May 12, 2010 at 3:38 PM, Lucian Goron <luciangoron at gmail.com> wrote:

>
> I installed libann-dev and it automatically installed libann0 also.
> But when I tried to build it again it gave the same error
>
>
> lucian at schwarz:~/work/ransac/build$ cmake --build ../
> Linking CXX executable coloredElevationMap
> /usr/bin/ld: cannot find -lANN
> collect2: ld returned 1 exit status
> make[2]: *** [coloredElevationMap] Error 1
> make[1]: *** [CMakeFiles/coloredElevationMap.dir/all] Error 2
> make: *** [all] Error 2
> lucian at schwarz:~/work/ransac/build$
>
> Should I pre - configure / build / compile something else before ?
>
> Cheers,
>
> 2010/5/12 Markus Schönhaber <ubuntu-users at list-post.mks-mail.de>
>
> 12.05.2010 11:51, Lucian Goron:
>>
>> > lucian at schwarz:~/work/ransac/build$ cmake --build ../
>> > Linking CXX executable coloredElevationMap
>> > /usr/bin/ld: cannot find -lANN
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [coloredElevationMap] Error 1
>> > make[1]: *** [CMakeFiles/coloredElevationMap.dir/all] Error 2
>> > make: *** [all] Error 2
>> >
>> > Has somebody a suggestion ?
>>
>> Yes. Search for the package containing libANN.so.
>> You could do this, for example, using apt-file (not installed by
>> default) or online
>> http://packages.ubuntu.com/
>>
>> <
>> http://packages.ubuntu.com/search?searchon=contents&keywords=libANN.so&mode=exactfilename&suite=lucid&arch=any
>> >
>>
>> Either way should tell you that you need the libann-dev package.
>>
>> --
>> Regards
>>  mks
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
>
> --
> MSc., Eng. Lucian GORON, PhD. Student
> Robotic Research Group, Technical University of Cluj-Napoca
> 71-73 Dorobantilor Street, Room C24, 400609 Cluj-Napoca, Romania
> 0040 264 401267 (office), 0040 727 361624 (mobile)
> lucian.goron at aut.utcluj.ro
> rrg.utcluj.ro
>



-- 
MSc., Eng. Lucian GORON, PhD. Student
Robotic Research Group, Technical University of Cluj-Napoca
71-73 Dorobantilor Street, Room C24, 400609 Cluj-Napoca, Romania
0040 264 401267 (office), 0040 727 361624 (mobile)
lucian.goron at aut.utcluj.ro
rrg.utcluj.ro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100512/b113cebb/attachment.html>


More information about the ubuntu-users mailing list