in reply to Re^2: MakeMaker failing to locate libs for shared objects
in thread MakeMaker failing to locate libs for shared objects
How? If -lssl -lcrypto were being removed from the LIBS argument, adding :nosearch would ensure that they aren't removed. I just tested this
Crypt-OpenSSL-Random-0.04$ perl Makefile.PL Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Note (probably harmless): No library found for -lmoldname Note (probably harmless): No library found for -lkernel32 Note (probably harmless): No library found for -luser32 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lwinspool Note (probably harmless): No library found for -lcomdlg32 Note (probably harmless): No library found for -ladvapi32 Note (probably harmless): No library found for -lshell32 Note (probably harmless): No library found for -lole32 Note (probably harmless): No library found for -loleaut32 Note (probably harmless): No library found for -lnetapi32 Note (probably harmless): No library found for -luuid Note (probably harmless): No library found for -lws2_32 Note (probably harmless): No library found for -lmpr Note (probably harmless): No library found for -lwinmm Note (probably harmless): No library found for -lversion Note (probably harmless): No library found for -lodbc32 Note (probably harmless): No library found for -lodbccp32 Writing Makefile for Crypt::OpenSSL::Random Crypt-OpenSSL-Random-0.04$ grep lcrypto Makefile # LIBS => [q[-lssl -lcrypto]] Crypt-OpenSSL-Random-0.04$ perl Makefile.PL LIBS=":nosearch -lssl -lcr +ypto" Writing Makefile for Crypt::OpenSSL::Random $ grep lcrypto Makefile # MakeMaker ARGV: (q[LIBS=:nosearch -lssl -lcrypto]) # LIBS => [q[-lssl -lcrypto]] EXTRALIBS = -lssl -lcrypto -lmoldname -lkernel32 -luser32 -lgdi32 -lwi +nspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -lo leaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -l +odbccp32 LDLOADLIBS = -lssl -lcrypto -lmoldname -lkernel32 -luser32 -lgdi32 -lw +inspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -l oleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 - +lodbccp32 cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "LIBS=:nosearch - +lssl -lcrypto" $(PERLRUN) Makefile.PL "LIBS=:nosearch -lssl -lcrypto" LIBS=':nosearch -lssl -lcrypto' Crypt-OpenSSL-Random-0.04$
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: MakeMaker failing to locate libs for shared objects
by houst0n (Novice) on Aug 02, 2010 at 18:06 UTC | |
by Anonymous Monk on Aug 03, 2010 at 06:33 UTC | |
by houst0n (Novice) on Aug 04, 2010 at 15:41 UTC |