two perl packages each installed Cwd.so, and that screwed me

Robert P. J. Day rpjday at crashcourse.ca
Wed Sep 21 15:25:06 UTC 2011


  long story short, a bunch of package builds kept failing because of
a missing symbol (Perl_Gthr_key_ptr), and i finally tracked it down
to:

$ dpkg -S /usr/lib/perl/5.10.1/auto/Cwd/Cwd.so
perl-base: /usr/lib/perl/5.10.1/auto/Cwd/Cwd.so
$ dpkg -S /usr/lib/perl5/auto/Cwd/Cwd.so
libfile-spec-perl: /usr/lib/perl5/auto/Cwd/Cwd.so
$

  yes, two different packages, both of which contributed Cwd.so and
the build was picking up the second one which was *wrong*, so i
deleted that package (which had no dependencies) and, suddenly, my
build is off and running.

  why do two different packages contribute the same file?  isn't that
some kind of packaging bug?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list