Jason Bailey, Sun Advocate Webmaster wrote:
ls -l /usr/lib64: lrwxrwxrwx 1 root root 29 2008-04-02 10:10 dict_pcre.so -> /usr/lib/postfix/dict_pcre.so -rw-r--r-- 1 root root 239408 2007-11-27 04:03 libpcre.a -rw-r--r-- 1 root root 46648 2007-11-27 04:03 libpcrecpp.a -rw-r--r-- 1 root root 883 2007-11-27 04:03 libpcrecpp.la lrwxrwxrwx 1 root root 19 2007-12-04 23:42 libpcrecpp.so -> libpcrecpp.so.0.0.0 lrwxrwxrwx 1 root root 19 2008-03-31 12:09 libpcrecpp.so.0 -> libpcrecpp.so.0.0.0 -rwxr-xr-x 1 root root 32792 2007-11-27 04:03 libpcrecpp.so.0.0.0 -rw-r--r-- 1 root root 788 2007-11-27 04:03 libpcre.la -rw-r--r-- 1 root root 4774 2007-11-27 04:03 libpcreposix.a -rw-r--r-- 1 root root 845 2007-11-27 04:03 libpcreposix.la lrwxrwxrwx 1 root root 21 2007-12-04 23:42 libpcreposix.so -> libpcreposix.so.0.0.0 lrwxrwxrwx 1 root root 21 2008-03-31 12:09 libpcreposix.so.0 -> libpcreposix.so.0.0.0 -rwxr-xr-x 1 root root 7368 2007-11-27 04:03 libpcreposix.so.0.0.0 lrwxrwxrwx 1 root root 16 2007-12-04 23:42 libpcre.so -> libpcre.so.0.0.1 lrwxrwxrwx 1 root root 16 2008-03-31 12:09 libpcre.so.0 -> libpcre.so.0.0.1 -rwxr-xr-x 1 root root 178184 2007-11-27 04:03 libpcre.so.0.0.1
Okay, PCRE seems to be installed...
--------------------------- cat /etc/postfix/makedefs.out: SYSLIBS = -lldap -llber -lpcre -lsasl2 -lssl -lcrypto -ldb -lnsl -lresolv CC = gcc $(WARN) -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH EXPORT = AUXLIBS='-lldap -llber -lpcre -lsasl2 -lssl -lcrypto' CCARGS='-DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -I/usr/include/sasl
...and Postfix was compiled with PCRE support.
--------------------------- ldd $(postconf daemon_directory| cut -d" " -f3)/smtpd :
libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00002b5f9d0f0000)
ldd again shows where the library should be installed.
I thought an strace may also help, so here goes:
fs2:/usr/lib64 # strace postconf -m
open("/usr/lib64/libpcre.so.0", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\31\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=178184, ...}) = 0
postmap checks the pcre and finds it.
mmap(NULL, 1223576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b1c03503000 madvise(0x2b1c03503000, 1223576, MADV_SEQUENTIAL|0x1) = 0 mprotect(0x2b1c03518000, 1044480, PROT_NONE) = 0 mmap(0x2b1c03617000, 94208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x2b1c03617000 close(3) = 0
very strange, it seems to load fine.
open("/etc/postfix/dynamicmaps.cf", O_RDONLY) = 3
Could you please post the content of dynamicmaps.cf? I suspect, Postfix was splitted in several packages to include map types without recompiling. You should find several postfix-packages like postfix-mysql and postfix-pgsql etc. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org