1
Ohjelmointi, palvelimet ja muu edistyneempi käyttö / Vs: ldap ei löydä tietokannan headeria
« : 05.04.10 - klo:17.37 »
Kiitos, sain slapd-paketin noudettua kun lisäsin nuo main-rivit sources.listiin
![Grin ;D](https://forum.ubuntu-fi.org/Smileys/default/grin.gif)
Ubuntu 24.04.1 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelut
Uusimmat julkaisut: 24.04.1 LTS (suositeltu, 29.8.2024) ja 24.10 - Ubuntun 20-vuotisjulkaisu! (10.10.2024).
Tässä osiossa voit tarkastella kaikkia tämän jäsenen viestejä. Huomaa, että näet viestit vain niiltä alueilta, joihin sinulla on pääsy.
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fi.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner
apt-get update
Löytyi http://fi.archive.ubuntu.com jaunty-backports Release.gpg
Siv http://fi.archive.ubuntu.com jaunty-backports/main Translation-fi
Siv http://fi.archive.ubuntu.com jaunty-backports/restricted Translation-fi
Siv http://fi.archive.ubuntu.com jaunty-backports/universe Translation-fi
Siv http://fi.archive.ubuntu.com jaunty-backports/multiverse Translation-fi
Löytyi http://fi.archive.ubuntu.com jaunty-backports Release
Löytyi http://fi.archive.ubuntu.com jaunty-backports/main Packages
Löytyi http://fi.archive.ubuntu.com jaunty-backports/restricted Packages
Löytyi http://fi.archive.ubuntu.com jaunty-backports/universe Packages
Löytyi http://fi.archive.ubuntu.com jaunty-backports/multiverse Packages
Löytyi http://fi.archive.ubuntu.com jaunty-backports/main Sources
Löytyi http://fi.archive.ubuntu.com jaunty-backports/restricted Sources
Löytyi http://fi.archive.ubuntu.com jaunty-backports/universe Sources
Löytyi http://fi.archive.ubuntu.com jaunty-backports/multiverse Sources
Luetaan pakettiluetteloita... Valmis
apt-cache search openldap
libldap-2.4-2 - OpenLDAP libraries
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
E: Pakettia slapd ei löytynyt
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
configure: error: BDB/HDB: BerkeleyDB not available
CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include"
export CPPFLAGS
LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib"
export LDFLAGS
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.7/lib"
export LD_LIBRARY_PATH
tästä seurasi joku c compiler error. CPPFLAGS="-I/usr/local/include"
export CPPFLAGS
LDFLAGS="-L/usr/local/lib"
export LDFLAGS
ja pääsin taas takaisin BDB/HDB: BerkeleyDB not available-ilmoitukseen.apt-get update
apt-get install build-essential
tämä ei muuttanut mitään.sudo apt-get install libdb4.7-dev
mutta sitä ei löydy:Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
E: Pakettia libdb4.7-dev ei löytynyt