pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50299: mail/postfix-pcre dose not work



>Number:         50299
>Category:       pkg
>Synopsis:       mail/postfix-pcre dose not work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 04 15:35:00 +0000 2015
>Originator:     Takahiro Kambe
>Release:        NetBSD 7.0_RC3
>Organization:
Takahiro Kambe
>Environment:
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD edge.back-street.net 7.0_RC3 NetBSD 7.0_RC3 (VMWARE-F7) #40: Sat Aug 22 22:26:51 JST 2015 taca%edge.back-street.net@localhost:/data/amd64/obj/sys/arch/amd64/compile/VMWARE-F7 amd64
Architecture: x86_64
Machine: amd64
>Description:
	mail/postfix-pcre dose not work with error:

	postfix/smtpd[8642]: fatal: load_library_symbols: dlopen failure loading /usr/pkg/lib/postfix/postfix-pcre.so: Shared object "libpcre.so.1" not found

>How-To-Repeat:
	Build postfix and postfix-pcre and run instead of postfix-2.11.6.
>Fix:
	postfix-pcre.so dose not link with RPATH:

	% cd /usr/pkgsrc/postfix-pcre
	% make
	...
	% cd $(make show-var VARNAME=WRKSRC)
	% ldd src/util/postfix-pcre.so 
	src/util/postfix-pcre.so:
		-lpcre.1 => not found
		-lgcc_s.1 => /usr/lib/libgcc_s.so.1
		-lc.12 => /usr/lib/libc.so.12

	Some flags for ld(1) seems to lack...

>Unformatted:
 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>


Home | Main Index | Thread Index | Old Index