Friday, May 6, 2022

[389-users] Build issues on Ubuntu


I'm trying to build the latest 389 release on Ubuntu 20.04 using OS packages.

I think I've found a couple issues:

1) (trivial) The configure script doesn't check for liblmdb's existence.

2) (fatal) The build fails, thus:

make[1]: Entering directory '/home/ubuntu/code/389-ds-base-389-ds-base-2.1.1'
/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -lcrack -o dbscan ldap/servers/slapd/tools/dbscan-dbscan.o -lplds4 -lplc4 -lnspr4
libtool: link: gcc -g -O2 -o .libs/dbscan ldap/servers/slapd/tools/dbscan-dbscan.o -lcrack -lplds4 -lplc4 -lnspr4 ./.libs/ -Wl,-rpath -Wl,/opt/dirsrv/lib/dirsrv/plugins
/usr/bin/ld: ldap/servers/slapd/tools/dbscan-dbscan.o: undefined reference to symbol 'slapi_ch_realloc'
/usr/bin/ld: /home/ubuntu/code/389-ds-base-389-ds-base-2.1.1/.libs/ error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

slapi_ch_realloc() comes from 389 itself, so I would _think_ this to be an internal error, rather than a problem caused by system libraries?

Thank you in advance!

-Felipe Gasper
389-users mailing list --
To unsubscribe send an email to
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam on the list, report it:

No comments:

Post a Comment