/usr/bin/ld: cannot find -lgeos
oumay.
Messages postés
5
Date d'inscription
Statut
Membre
Dernière intervention
-
oumay. Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
oumay. Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
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
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.
merci d'avance.
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$ makePriè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
[ 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
merci d'avance.
A voir également:
- Cannot find -lnlopt
- Fichier bin - Guide
- Recycle bin ✓ - Forum Webmastering
- Fichier cue et bin ✓ - Forum Logiciels
- Mp4 to bin - Forum Format et connectique vidéo
- Usr bin ld cannot find - Forum Linux / Unix
5 réponses
'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-devet le tour est joué
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
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).
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
oui même avec libgeos++
il m'indique qu'il y a des dépendances non satisfaites, et l'erreur reste toujours le même.
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.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
elle me renvoie :
mais lorsque je tape
elle me renvoie :
et le problème initial reste le même.
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.