FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-12-2010, 09:51 AM
Lucian Goron
 
Default /usr/bin/ld: cannot find -lANN

I formatted my HDD.
Now I run on ubuntu 10.04 lucid lynx.
When trying to build some old code, that worked on jaunty, I got this:

lucian@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 ?
Thanks in advance.



--
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@aut.utcluj.ro
rrg.utcluj.ro

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-12-2010, 10:17 AM
Markus Schönhaber
 
Default /usr/bin/ld: cannot find -lANN

12.05.2010 11:51, Lucian Goron:

> lucian@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=e xactfilename&suite=lucid&arch=any>

Either way should tell you that you need the libann-dev package.

--
Regards
mks

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-12-2010, 12:38 PM
Lucian Goron
 
Default /usr/bin/ld: cannot find -lANN

I installed libann-dev and it automatically installed libann0 also.
But when I tried to build it again it gave the same error

lucian@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@schwarz:~/work/ransac/build$


Should I pre - configure / build / compile something else before ?

Cheers,

2010/5/12 Markus Schönhaber <ubuntu-users@list-post.mks-mail.de>

12.05.2010 11:51, Lucian Goron:



> lucian@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=e xactfilename&suite=lucid&arch=any>




Either way should tell you that you need the libann-dev package.



--

Regards

*mks



--

ubuntu-users mailing list

ubuntu-users@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@aut.utcluj.ro
rrg.utcluj.ro

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-12-2010, 12:59 PM
Lucian Goron
 
Default /usr/bin/ld: cannot find -lANN

update ! on the problem at hand...

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

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

lucian@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@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@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@schwarz:~/work/ransac/build$



Should I pre - configure / build / compile something else before ?

Cheers,

2010/5/12 Markus Schönhaber <ubuntu-users@list-post.mks-mail.de>


12.05.2010 11:51, Lucian Goron:



> lucian@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=e xactfilename&suite=lucid&arch=any>





Either way should tell you that you need the libann-dev package.



--

Regards

*mks



--

ubuntu-users mailing list

ubuntu-users@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@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@aut.utcluj.ro
rrg.utcluj.ro

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 03:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org