Opened 18 years ago

Last modified 18 years ago

#10634 closed defect

Openssl enabled postfix warning from the linker and no tls — at Initial Version

Reported by: canela@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: posttix tls openssl Cc:
Port:

Description

I'm using the last port version, updated 5 minutes ago on a G4 powerbook with OSX 10.4.7. I forced the uninstallation of openssl to see if recompiling it'd help making postfix compile correctly but the problem is always this: sudo port -cv install postfix +tls +sasl ... download verify and initial compile than it starts issuing warnings like this (long lines):



/usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x37000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with DATA segment (address = 0x13000 size = +0x1000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x37000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with LINKEDIT segment (address = 0x14000 size = +0x39000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x37000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = 0x13000) +of /opt/local/lib/libz.1.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x37000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with DATA segment (address = 0x13000 size = +0x1000) of /opt/local/lib/libz.1.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x37000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with LINKEDIT segment (address = 0x14000 size = +0x2000) of /opt/local/lib/libz.1.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x37000 size = 0x4000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = +0xf2000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x37000 size = 0x4000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with LINKEDIT segment (address = 0x14000 size += 0x39000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x3b000 size = 0x11000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = +0xf2000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x3b000 size = 0x11000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with LINKEDIT segment (address = 0x14000 +size = 0x39000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0xf2000) of /opt/local/lib/libcrypto.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = +0x13000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x13000 size = 0x1000) of /opt/local/lib/libsasl2.2.dylib overlaps with DATA segment (address = 0x13000 size = +0x1000) of /opt/local/lib/libz.1.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x14000 size = 0x39000) of /opt/local/lib/libsasl2.2.dylib overlaps with LINKEDIT segment (address = 0x14000 +size = 0x2000) of /opt/local/lib/libz.1.dylib cp qmqp-sink ../../bin/qmqp-sink [src/sendmail] cc -DNO_PCRE -DUSE_TLS -DUSE_SASL_AUTH -I/opt/local/include/sasl -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -I../../include -DMACOSX -c sendmail.c cc -DNO_PCRE -DUSE_TLS -DUSE_SASL_AUTH -I/opt/local/include/sasl -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -I../../include -DMACOSX -o sendmail sendmail.o ../../lib/libglobal.a ../../lib/libutil.a +-L/opt/local/lib -lssl -lcrypto -lsasl2 -flat_namespace /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0x37000) of +/opt/local/lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0xf2000) of +/opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0x13000) of +/opt/local/lib/libsasl2.2.dylib [src/sendmail] cc -DNO_PCRE -DUSE_TLS -DUSE_SASL_AUTH -I/opt/local/include/sasl -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -I../../include -DMACOSX -c sendmail.c cc -DNO_PCRE -DUSE_TLS -DUSE_SASL_AUTH -I/opt/local/include/sasl -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -I../../include -DMACOSX -o sendmail sendmail.o ../../lib/libglobal.a ../../lib/libutil.a +-L/opt/local/lib -lssl -lcrypto -lsasl2 -flat_namespace /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0x37000) of +/opt/local/lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0xf2000) of +/opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0x13000) of +/opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0x13000) of +/opt/local/lib/libz.1.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x27000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0x37000) of +/opt/local/lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x27000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0xf2000) of +/opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x27000) of sendmail overlaps with TEXT segment (address = 0x0 size = 0x13000) of +/opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x27000) of sendmail overlaps with DATA segment (address = 0x13000 size = 0x1000) of +/opt/local/lib/libsasl2.2.dylib



as a result postfix doesn't have tls support compiled in. The same kind of warning are present compiling openssl. Some other minor issues are:

  • in /var/log/mail.log every time postfix is started those 3 warnings appear: postfix/postfix-script: warning: not owned by root: /opt/local/libexec/postfix postfix/postfix-script: warning: not owned by root: /opt/local/etc/postfix postfix/postfix-script: warning: not owned by root: /opt/local/var/spool/postfix

but all those 3 folders are owned by root

  • to stop the postfix deamon I must launch 2 times the command sudo launchctl stop org.macports.postfix because the first time it doesn't work.

  • we could ship a default master.cf and main.cf configuration script if none is already present.

Just tell me how I could help if you need something. Regards, Gufo

Change History (0)

Note: See TracTickets for help on using tickets.