#1 Le 18/04/2014, à 23:26
- oumay
aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
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
[b]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[/b]
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
Hors ligne
#2 Le 19/04/2014, à 01:08
- yann_001
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
Bonjour.
As-tu essayé avec le dépot ?
Hors ligne
#3 Le 19/04/2014, à 15:48
- oumay
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
bonjour,
j'ai essayée avec le dépôt PPA, mais mais j'ai pas pu installer les paquets robot-player et stage, ce qui ma obligé de commencer l'installation avec les sources et voici je me trouve bloquée une autre fois.
Hors ligne
#4 Le 19/04/2014, à 15:54
- wido
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
sudo apt-get install robot-player stage
Hors ligne
#5 Le 19/04/2014, à 16:11
- oumay
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
en faisant apt-get install robot-player stage
voici le résultat dans le terminal :
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é
robot-player : Dépend: liblodo0 mais ne sera pas installé
Dépend: libplayerc++3 mais ne sera pas installé
Dépend: libplayerc3 mais ne sera pas installé
Dépend: libplayerdrivers3 mais ne sera pas installé
Dépend: libplayertcp3 mais ne sera pas installé
Dépend: libplayerwkb3 mais ne sera pas installé
Dépend: libpmap0 mais ne sera pas installé
stage : Dépend: stage-player-plugin mais ne sera pas installé
il y a des dépendances manquantes, en essayant d'installer ces paquets le terminal m'indique l'erreur
par exemple en essayant d'installer "libplayercommon3.0" voici l'erreur qui m'indique :
Dépaquetage de libplayercommon3.0 (à partir de .../libplayercommon3.0_3.0.2+dfsg-4ubuntu2_i386.deb) ...
dpkg: erreur de traitement de /var/cache/apt/archives/libplayercommon3.0_3.0.2+dfsg-4ubuntu2_i386.deb (--unpack) :
tentative de remplacement de « /usr/lib/libplayercommon.so.3.0.2 », qui appartient aussi au paquet libplayercommon3 1:3.0.2-1~ppb06
Aucun rapport « apport » écrit car MaxReports a déjà été atteint
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/libplayercommon3.0_3.0.2+dfsg-4ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hors ligne
#6 Le 19/04/2014, à 16:59
- yann_001
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
Bonjour.
Tape
sudo apt-get update
puis
sudo apt-get install robot-player stage
Dernière modification par yann_001 (Le 19/04/2014, à 16:59)
Hors ligne
#7 Le 20/04/2014, à 20:59
- oumay
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
en tapant
sudo apt-get update
voici ce qui m'affiche le terminal :
Err http://fr.archive.ubuntu.com dapper/universe i386 Packages
404 Not Found [IP : 212.27.60.27 80]
Ign http://fr.archive.ubuntu.com dapper/universe Translation-fr_FR
Ign http://fr.archive.ubuntu.com dapper/universe Translation-fr
Ign http://fr.archive.ubuntu.com dapper/universe Translation-en
72 o réceptionnés en 6min 17s (0 o/s)
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/dapper/universe/binary-i386/Packages 404 Not Found [IP : 212.27.60.27 80]
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
j'ai rien compris toujours il y a des problèmes lors d'update et d'install,
Hors ligne
#8 Le 21/04/2014, à 07:00
- Ekel
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
Bonjour,
Que contient ton sources.list ? http://doc.ubuntu-fr.org/sources.list
Parce que je vois la mention dapper, et que dapper c'est obsolète !
Cordialement.
Ekel
---
Jammy Jellyfish - KUbuntu Utilisateur n°16275
AMD Ryzen 5 5600G | B550 GAMING X V2 | 16 Go | 22" + 22"
Hors ligne
#9 Le 21/04/2014, à 09:20
- oumay
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
bonjour,
voici sources.list :
Dernière modification par oumay (Le 21/04/2014, à 10:46)
Hors ligne
#10 Le 21/04/2014, à 10:50
- yann_001
Re : aider moi j'ai l'erreur /usr/bin/ld: cannot find -lgeos
Bonjour.
Décoche ou supprime le dépôt Ubuntu 6.06 LTS 'Dapper Drake' puis recharge la liste des paquets.
Graphiquement ou via un terminal avec la commande
sudo apt-get update
Hors ligne