On 2005.09.04 23:25:24 +0200, Bernd Ernesti wrote:
| On Sun, Sep 04, 2005 at 09:46:45PM +0100, Rui Paulo wrote:
| > On 2005.09.04 21:17:32 +0200, Bernd Ernesti wrote:
| > | > let me suggest
| > | >
| > | > -DPADD+= ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBCRYPTO} ${LIBPUTIL}
| > | > +DPADD+= ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} ${LIBCRYPTO}
| > | > -LDADD+= ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBCRYPTO}
${LIBPUTIL} -lssl
| > | > +LDADD+= ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} -lssl
-lcrypto
| > | >
| > | > With this in place, it links both for i386 and sun2.
| > |
| > | Hmm, what is now needed, libcrypto, libssl or both?
| >
| > Both. Harvard Eidnes suggestion is the right one.
|
| Then why is there only a ${LIBCRYPTO} but not an ${LIBSSL} in the DPADD line?
I missed that. The correct way should be:
DPADD+= ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} ${LIBCRYPTO}
${LIBSSL}
LDADD+= ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} -lcrypto -lssl
First the private postfix libraries, then the shared libraries.
-- Rui Paulo
Attachment:
pgppxAUbKpYOs.pgp
Description: PGP signature