delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/29/02:04:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <474E6466.49329BBF@dessent.net>
Date: Wed, 28 Nov 2007 23:04:06 -0800
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Perl is installed in /lib, but Config.pm indicates it is in /usr/local/lib
References: <E1IxY0E-0000SL-Pd AT owl DOT gateway DOT 2wire DOT net> <BAY114-DAV9425B6ADE6DDC4768FAFEB3700 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Etienne wrote:

> It looks like I misspoke slightly.  I reviewed the "Config.pm" again and it
> thinks it is installed in "/usr/lib". I don't even have a "lib" directory
> under "usr" on a clean install of cygwin.

You must be looking with a Windows application like Explorer.  Don't. 
/lib and /usr/lib are the same due to the mount table.  The same is true
of /bin and /usr/bin.  "ls -l /usr/lib" should show many things.  See
also:
<http://cygwin.com/faq/faq-nochunks.html#faq.using.directory-structure>.

> "Perl" and "TCL" can't find
> several functions from the following packages: libartlgpl2, libpng12-devel &
> libfreetype2-devel.  If I only disable "TCL", I get the same "undefined
> reference" errors from "PERL".  The configure script finds the libraries
> with no dificulty and if I attempt a build by disabling "TCL" and "PERL" it
> works.  The only way I can get "PERL" to be included is by using the option
> "LINKTYPE=static", but I'm not sure of the consequences of that action.
> 
> Some of the errors are "undefined reference to `_art_vpath_add_point'",
> "undefined reference to `_FT_Done_Glyph'" & "undefined reference to
> `_png_create_write_struct'"

Whenever reporting link failures you should include the exact cut and
paste output of the commands that were run and the resulting errors. 
It's very hard to guess what's going wrong without seeing the context of
the errors and the commands that caused them.

> I tried copying the contents of the "/lib" directory to "/usr/lib" and
> "/usr/local/lib" as an attempted workaround.  This however did not solve the
> problem.  Even if this is a problem with "rrdtool", it doesn't explain the
> "Config.pm" and "tclConfig.sh" files.

That's a very bad idea, but it should be a no-op.  Again /usr/lib and
/lib are the same thing.

> I wish cygwin would use forums instead of a mailing list.

Well, a lot of us vastly prefer mailing lists to forums.  However, there
are gateways.  You might like to try
<http://dir.gmane.org/gmane.os.cygwin> or
<http://www.nabble.com/Cygwin-list-f12269.html>.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019