Perl is installed in /lib, but Config.pm indicates it is in /usr/local/lib

Brian Dessent brian@dessent.net
Thu Nov 29 10:44:00 GMT 2007


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/



More information about the Cygwin mailing list