public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with "perl -MExtUtils::Embed -e ldopts"
@ 2001-12-08 13:55 Pierre A. Humblet
  2001-12-09  7:27 ` Gerrit P. Haase @ cygwin
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre A. Humblet @ 2001-12-08 13:55 UTC (permalink / raw)
  To: cygwin

I have a package that uses perl itself to configure a makefile to
use perl libraries. The command and its output are
 
> perl  -MExtUtils::Embed -e ldopts
Note (probably harmless): No library found for -lperl
 -s  -s -L/usr/local/lib
/usr/lib/perl5/5.6.1/cygwin-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.6.1/cygwin-multi/CORE -lcrypt

3 observations:
1) The "harmless note" suggests that the perl library is not where expected.
   Should it be -lperl5_6_1 or is there a missing link? 
2) The -s causes the linker to drop the symbol table [when the command 
   output is blindly used in a makefile]. Not nice while debugging!
3) why list /usr/local/lib?

While not a show stopper, can this be fixed in future releases? 
Thanks.

Pierre


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-09 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-08 13:55 Problem with "perl -MExtUtils::Embed -e ldopts" Pierre A. Humblet
2001-12-09  7:27 ` Gerrit P. Haase @ cygwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).