Wietse Venema:
> Christian G?ttsche:
> > Plugin shared objects require the global object to be build.
> > 
> > : rv libpostfix-global.so abounce.o anvil_clnt.o been_here.o bounce.o 
> > bounce_log.o canon_addr.o cfg_parser.o [snip]
> 
> What was the make command?
 
Just asking because on my Fedora box:

$ make tidy
$ make makefiles (with dynamicmaps=yes in the environment)
$ cd src/util
$ make plugin_map_so_make
gcc -I. -I../../include -DUSE_TLS -I/opt/openssl-1.1.1g/include -DUSE_SASL_AUTH 
-DUSE_CYRUS_SASL -I/usr/local/include/sasl -DHAS_CDB -I/usr/local/include 
-DHAS_SQLITE -I/usr/local/include -DHAS_LMDB -I/usr/local/include -DHAS_LDAP 
-I/usr/local/include -DHAS_PGSQL -I/usr/local/include/pgsql -DHAS_MYSQL 
-I/usr/local/include/mysql -I/usr/local/include -DHAS_DEV_URANDOM -DHAS_PCRE=2 
-I/usr/local/include -DSNAPSHOT 
-DDEF_SHLIB_DIR=\"/usr/lib/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS 
-DUSE_DYNAMIC_MAPS -Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes  
-Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized  -Wunused 
-Wno-missing-braces -fno-common -fPIC -g  -I. -DFREEBSD8 -c dict_pcre.c
cc1: warning: -Wuninitialized is not supported without -O
gcc -shared -Wl,-rpath,/usr/lib/postfix/3.7-20211223 -o postfix-pcre.so 
dict_pcre.o -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre2-8

There is no need to build the libpostfix objects. 

And this was at a time that /usr/lib/postfix/3.7-20211223 did not
exist.

        Wietse

Reply via email to