[oe] [meta-oe] OpenLDAP modules
Bruno Vernay
brunovern.a at gmail.com
Wed Jan 13 16:33:27 UTC 2016
I still have errors, but made a recipe bbappend to install "openldap-slapd
openldap-dev"
At run I have:
usr/sbin/slapd: symbol lookup error:
/usr/lib/openldap/openldap/back_mdb-2.4.so.2: undefined symbol:
pthread_key_create
Also note that
/usr/lib/openldap/openldap# strings back_mdb-2.4.so.2.10.5 | grep
thread_key_create
pthread_key_create
/lib# strings libpthread.so.0 |grep thread_key_create
__pthread_key_create
I someone could help?
/************************************************/
PACKAGECONFIG_append = " mdb"
FILES_${PN} += "${datadir}/${BPN}-data"
do_install_append() {
# Uses mdm as the database
# and datadir as data directory ...
sed -e 's/# modulepath/modulepath/' \
-e 's/# moduleload\s*back_bdb/moduleload back_mdb/' \
-e 's/database\s*bdb/database mdb/' \
-e 's%^directory\s*.*%directory ${datadir}/${BPN}-data/%' \
-i ${D}${sysconfdir}/openldap/slapd.conf
# Add debug info to the service
sed -e 's/ \$slapd$/ \$slapd -- -d -1/' \
-i ${D}${sysconfdir}/init.d/openldap
mkdir -p ${D}${datadir}/${BPN}-data
}
/**************************************************/
On Wed, Jan 13, 2016 at 11:12 AM Bruno Vernay <brunovern.a at gmail.com> wrote:
> To get the all the required files, I had to add the openldap-dev package.
> Also the data dir: /var/openldap-data is not created by the recipe.
> Regards
>
> On Tue, Jan 12, 2016 at 1:51 PM Bruno Vernay <brunovern.a at gmail.com>
> wrote:
>
>> Hi
>> It seems that OpenLDAP modules are build, but not all files are installed
>> on the target.
>> I created an issue in GitHub:
>> https://github.com/openembedded/meta-openembedded/issues/21
>>
>> Also I could not find any example or documentation on how to use this
>> recipe (had to look at the code and trial and error). Is it the way to go
>> or is there a place to contribute examples at least?
>>
>> Regards
>> Bruno
>>
>>
More information about the Openembedded-devel
mailing list