* Ralf Hildebrandt <[email protected]>:

> Current build status: It builds with TLS, CDB, PCRE.
> Adding LDAP now

Building with LDAP alone: works ok
Building with TLS, CDB, PCRE: works ok

Building with TLS, CDB, PCRE and LDAP  together:

gcc -Wmissing-prototypes -Wformat -Wno-comment -I. -I../../include -DUSE_TLS 
-DHAS_PCRE -DHAS_CDB -DHAS_LDAP -DSNAPSHOT
-DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS  -g -O -I. -I../../include -DLINUX3 
-Wl,-rpath,/usr/lib/postfix -o master master.o master_conf.o
master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o 
master_status.o master_listen.o master_vars.o
master_wakeup.o master_watch.o master_flow.o master_monitor.o 
../../lib/libpostfix-global.so ../../lib/libpostfix-util.so -lssl -lcrypto 
-lnsl -ldb -lnsl -lresolv -ldl 
../../lib/libpostfix-util.so: undefined reference to dlsym'
../../lib/libpostfix-util.so: undefined reference to dlerror'
../../lib/libpostfix-util.so: undefined reference to dlopen'
collect2: error: ld returned 1 exit status

I then replaced ld (a symlink to ld.bfd) with gold (ld.gold), and everything 
would
build happily.

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

Reply via email to