/usr/bin/ld: cannot find -lgeos

Fermé
oumay. Messages postés 5 Date d'inscription vendredi 18 avril 2014 Statut Membre Dernière intervention 20 avril 2014 - 18 avril 2014 à 23:35
oumay. Messages postés 5 Date d'inscription vendredi 18 avril 2014 Statut Membre Dernière intervention 20 avril 2014 - 20 avril 2014 à 22:50
Bonjour,

bonjour,
je suis entrain d'installer un simulateur sous Kubuntu 12.04 , nommé Player-stage j'ai suivi le lien suivant http://doc.ubuntu-fr.org/playerstage
au niveau de la commande "cmake" pour la configuration, voici le code

ammouna@ammouna-Satellite-A300:~/playerstage_download/player-3.0.0/build$ cmake ../
-- Player version 3.0.0
-- Operating system is Linux
-- Player will be installed to /usr/local
-- Large file support is disabled.
-- ===== Client Libraries =====
-- Python bindings for C client library will be built
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- Ruby bindings for C client library will not be built - could not find Ruby
-- Python bindings for C++ client library will not be built - disabled by user
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- Ruby bindings for C++ client library will not be built - could not find Ruby
-- Boost version: 1.49.0
-- PlayerC++ client library will be built with Boost::Thread support.
-- PlayerC++ client library will be built with Boost::Signals support.
-- ============================
--
-- ----- Processing driver make files -----
-- checking for module 'artoolkitplus'
-- package 'artoolkitplus' not found
-- checking for module 'GbxGarminAcfr'
-- package 'GbxGarminAcfr' not found
-- checking for module 'libgarcia'
-- package 'libgarcia' not found
-- checking for module 'flexiport'
-- package 'flexiport' not found
-- checking for module 'GbxSmartBatteryAcfr'
-- package 'GbxSmartBatteryAcfr' not found
-- checking for module 'GbxSickAcfr'
-- package 'GbxSickAcfr' not found
-- checking for module 'hokuyo_aist'
-- package 'hokuyo_aist' not found
-- checking for module 'howl'
-- package 'howl' not found
-- ----- Done -----
--
-- ===== Drivers =====
-- The following drivers will be built:
-- AioToSonar
-- accel_calib
-- acts
-- amcl
-- amtecpowercube
-- aodv
-- bitlogic
-- bumper2laser
-- bumpersafe
-- camera1394
-- cameracompress
-- camerauncompress
-- camerauvc
-- camerav4l2
-- camfilter
-- canonvcc4
-- clodbuster
-- cmucam2
-- cmvision
-- create
-- cvcam
-- deadstop
-- dummy
-- epuck
-- er1
-- erratic
-- fakelocalize
-- festival
-- flockofbirds
-- garminnmea
-- globalize
-- goto
-- imageseq
-- insideM300
-- iwspy
-- kartowriter
-- khepera
-- laserbar
-- laserbarcode
-- lasercspace
-- lasercutter
-- laserposeinterpolator
-- laserptzcloud
-- laserrescan
-- lasersafe
-- lasertoranger
-- linuxjoystick
-- localbb
-- mapcspace
-- mapfile
-- mapscale
-- mica2
-- microstrain
-- motionmind
-- mricp
-- nomad
-- obot
-- p2os
-- passthrough
-- pbslaser
-- postgis
-- ptu46
-- rangertolaser
-- readlog
-- relay
-- rflex
-- roboteq
-- robotracker
-- roomba
-- rs4leuze
-- rt3xxx
-- segwayrmp400
-- serialstream
-- serio
-- shapetracker
-- sickLDMRS
-- sickRFI341
-- sicklms200
-- sicklms400
-- sicknav200
-- sicks3000
-- simpleshape
-- skyetekM1
-- snd
-- sonartoranger
-- sonyevid30
-- statgrab
-- tcpstream
-- upcbarcode
-- vec2map
-- vfh
-- videocanny
-- vmapfile
-- wavefront
-- wbr914
-- writelog
--
-- The following drivers will not be built:
-- XSensMT - XSENSMT_SOURCE_DIR was not set.
-- acr120u - Could not find header usb.h
-- alsa - Could not find header alsa/asoundlib.h
-- amtecm5 - Could not find header Device.h
-- artoolkitplus - Could not find package artoolkitplus
-- camerav4l - Could not find header linux/videodev.h
-- eedhcontroller - Disabled - probably doesn't build
-- flexiport - Could not find package flexiport
-- garcia - Could not find package libgarcia
-- gbxgarminacfr - Could not find package GbxGarminAcfr
-- gbxsickacfr - Could not find package GbxSickAcfr
-- hokuyo_aist - Could not find package hokuyo_aist
-- isense - Could not find header isense/isense.h
-- laservisualbarcode - Has not been updated to use dynamic message structures
-- laservisualbw - Has not been updated to use dynamic message structures
-- linuxwifi - Could not find header linux/wireless.h
-- mbicp - MBICP_SOURCE_DIR was not set.
-- nd - ND_SOURCE_DIR was not set.
-- nimu - Could not find header usb.h
-- oceanserver - Could not find package GbxSmartBatteryAcfr
-- phidgetAcc - Could not find header phidget21.h
-- phidgetRFID - Could not find header phidget21.h
-- phidgetifk - Could not find header phidget21.h
-- rcore_xbridge - Could not find header libparticle.h
-- reb - Disabled by default
-- robotino - Could not find header robotinocom.h
-- segwayrmp - Disabled by default
-- service_adv_mdns - Disabled by default
-- sphere - Could not find header linux/videodev.h
-- sphinx2 - Disabled by default
-- sr3000 - Could not find header libusbSR.h
-- stoc - Could not find header SVS/svsclass.h
-- unicapimage - Could not find header unicap.h
-- yarpimage - Could not find header yarp/os/all.h
-- ===================
--
-- ===== Examples =====
-- ====================
--
-- ===== Player utilities =====
-- XMMS plugin will not be built - XMMS not found
-- ============================
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ammouna/playerstage_download/player-3.0.0/build


il m'a indiqué que la configuration est faite pourtant il m'a affiché des paquets not find.

mais en passant à la commande "make" pour commencer l'installation de simulateur Player, il m'a indiqué l'erreur suivante, qui m'a bloquée.

ammouna@ammouna-Satellite-A300:~/playerstage_download/player-3.0.0/build$ make
[ 1%] Built target playercommon
[ 1%] Generating functiontable_gen.h
[ 2%] Built target functiontable_gen
[ 2%] Generating interface_table.h
[ 3%] Built target interface_table
[ 3%] Generating player_interfaces.h
[ 3%] Built target player_interfaces
[ 5%] Built target playerinterface
[ 5%] Generating playerxdr.?
[ 6%] Built target playerxdr_src
Scanning dependencies of target playerjpeg
[ 6%] Building C object libplayerjpeg/CMakeFiles/playerjpeg.dir/playerjpeg.o
Linking C shared library libplayerjpeg.so
[ 6%] Built target playerjpeg
Linking C shared library libplayerwkb.so
/usr/bin/ld: cannot find -lgeos
collect2: error: ld returned 1 exit status
make[2]: *** [libplayerwkb/libplayerwkb.so.3.0.0] Error 1
make[1]: *** [libplayerwkb/CMakeFiles/playerwkb.dir/all] Error 2
make: *** [all] Error 2

Prière de m'aider j'arrive pas à résoudre ce problème, je suis totalement bloquée sachant que je suis débutante en linux
merci d'avance.




A voir également:

5 réponses

ElementW Messages postés 4816 Date d'inscription dimanche 12 juin 2011 Statut Contributeur Dernière intervention 5 octobre 2021 1 225
18 avril 2014 à 23:41
'lut, le message semble plutôt clair: il te manque la librairie geos, ou ses fichiers de développement. libgeos-dev est dispo dans les dépôts de Debian, donc un coup de
sudo apt-get install libgeos-dev
et le tour est joué
0
oumay. Messages postés 5 Date d'inscription vendredi 18 avril 2014 Statut Membre Dernière intervention 20 avril 2014
18 avril 2014 à 23:50
merci gravgun pour votre réponse,

j'ai fait ce que vous m'avez conseiller, voici le code, il m'indique que la librairie libgeos est déjà installée

ammouna@ammouna-Satellite-A300:~/playerstage_download/player-3.0.0/build$ sudo apt-get install libgeos-dev
[sudo] password for ammouna:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libgeos-dev est déjà la plus récente version disponible.
libgeos-dev passé en « installé manuellement ».
Vous pouvez lancer « apt-get -f install » pour corriger ces problèmes :
Les paquets suivants contiennent des dépendances non satisfaites :
libplayercommon3.0-dev : Dépend: libplayercommon3.0 (= 3.0.2+dfsg-4ubuntu2) mais ne sera pas installé
libplayerwkb3.0 : Dépend: libplayercommon3.0 mais ne sera pas installé
E: Dépendances non satisfaites. Essayez « apt-get -f install » sans paquet
(ou indiquez une solution).
0
ElementW Messages postés 4816 Date d'inscription dimanche 12 juin 2011 Statut Contributeur Dernière intervention 5 octobre 2021 1 225
19 avril 2014 à 00:03
Mince, avec un peu de recherche, je constate que libgeos-dev fournit geos mais en version C, pas C++; la librairie se nomme alors libgeos_c. Il te faut la version C++, donc le paquet libgeos++-dev:
sudo apt-get install libgeos++-dev
0
oumay. Messages postés 5 Date d'inscription vendredi 18 avril 2014 Statut Membre Dernière intervention 20 avril 2014
19 avril 2014 à 16:35
c'est le même problème qui persiste :(
0
ElementW Messages postés 4816 Date d'inscription dimanche 12 juin 2011 Statut Contributeur Dernière intervention 5 octobre 2021 1 225
19 avril 2014 à 17:12
Même avec libgeos++?
0
oumay. Messages postés 5 Date d'inscription vendredi 18 avril 2014 Statut Membre Dernière intervention 20 avril 2014
20 avril 2014 à 20:54
oui même avec libgeos++

ammouna@ammouna-Satellite-A300:~/playerstage_download/player-3.0.0/build$ sudo apt-get install libgeos++
[sudo] password for ammouna:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Note : sélection de libgeos-dbg pour l'expression rationnelle « libgeos+ »
Note : sélection de libgeos-dev pour l'expression rationnelle « libgeos+ »
Note : sélection de libgeos-doc pour l'expression rationnelle « libgeos+ »
Note : sélection de libgeos-ruby1.8 pour l'expression rationnelle « libgeos+ »
Note : sélection de libgeos-3.3.3 pour l'expression rationnelle « libgeos+ »
Note : sélection de libgeos-c1 pour l'expression rationnelle « libgeos+ »
Note : sélection de libgeos++-dev pour l'expression rationnelle « libgeos+ »
libgeos-3.3.3 est déjà la plus récente version disponible.
libgeos-3.3.3 passé en « installé manuellement ».
libgeos-c1 est déjà la plus récente version disponible.
libgeos-c1 passé en « installé manuellement ».
libgeos-dev est déjà la plus récente version disponible.
libgeos-dev passé en « installé manuellement ».
Vous pouvez lancer « apt-get -f install » pour corriger ces problèmes :
Les paquets suivants contiennent des dépendances non satisfaites :
libplayercommon3.0-dev : Dépend: libplayercommon3.0 (= 3.0.2+dfsg-4ubuntu2) mais ne sera pas installé
libplayerwkb3.0 : Dépend: libplayercommon3.0 mais ne sera pas installé
E: Dépendances non satisfaites. Essayez « apt-get -f install » sans paquet
(ou indiquez une solution).


il m'indique qu'il y a des dépendances non satisfaites, et l'erreur reste toujours le même.
0
ElementW Messages postés 4816 Date d'inscription dimanche 12 juin 2011 Statut Contributeur Dernière intervention 5 octobre 2021 1 225
20 avril 2014 à 21:10
Que te renvoie la commande
dpkg-query -L "libgeos++-dev"
?
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
oumay. Messages postés 5 Date d'inscription vendredi 18 avril 2014 Statut Membre Dernière intervention 20 avril 2014
20 avril 2014 à 22:50
elle me renvoie :
dpkg-query: paquet « libgeos++-dev » n'est pas installé
Utilisez dpkg --info (= dpkg-deb --info) pour examiner les fichiers
archives, et dpkg --contents (= dpkg-deb --contents) pour afficher leur
contenu.

mais lorsque je tape
sudo apt-get install libgeos++-dev

elle me renvoie :

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Vous pouvez lancer « apt-get -f install » pour corriger ces problèmes :
Les paquets suivants contiennent des dépendances non satisfaites :
libplayercommon3.0-dev : Dépend: libplayercommon3.0 (= 3.0.2+dfsg-4ubuntu2) mais ne sera pas installé
libplayerwkb3.0 : Dépend: libplayercommon3.0 mais ne sera pas installé
E: Dépendances non satisfaites. Essayez « apt-get -f install » sans paquet
(ou indiquez une solution).

et le problème initial reste le même.
0