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 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: . > "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 or . 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/