oh, please also keep /tmp/pkglist around in case anyone wants to see it..

On 2010-02-26, Stuart Henderson <s...@spacehopper.org> wrote:
> On 2010-02-25, Chris Bennett <ch...@bennettconstruction.biz> wrote:
>> Stuart Henderson wrote:
>>> On 2010-02-23, Chris Bennett <ch...@bennettconstruction.biz> wrote:
>>>   
>>>> I just upgraded a production server to -current (needed latest PostgreSQL)
>>>>     
>>>
>>> Did you upgrade all packages? Specifically, any Perl XS modules must
>>> have been built with a version of Perl matching the Perl binary, so if
>>> you didn't upgrade these (e.g. DBD::Pg) that could be the problem.
>>>
>>>
>>>   
>> I decided to delete DBD::Pg and added latest through CPAN.
>> This eliminated the core dumps, but not the Segmentation Faults.
>
> Please first uninstall DBD::Pg from CPAN (mixing things
> from CPAN and OpenBSD packages is going to cause confusion at best
> and won't help track down the problem with the packages.
>
> I was giving DBD::Pg as an example but you must have other XS modules
> on your system if you're using DBD::Pg.  Did you upgrade __all__ packages?
>
> If not please do so (pkg_add -ui or similar) and re-test.
>
> If you've already done that and it's still failing, try reinstalling
> all the perl things:
>
> - save a copy of your package list
> pkg_info > /tmp/pkglist
>
> - uninstall all p5-* packages and things they pull in
> pkg_delete -i /var/db/pkg/p5-*
> (and answer yes to uninstalling the dependent pkg's)
>
> - reinstall the packages from the list you saved
> pkg_add -z -l /tmp/pkglist
>
> and test again.
>
> If it's broken after just doing pkg_add -u but deleting+reinstalling
> these packages fixes things, we need to know *absolutely ASAP* if we're
> to stand a chance of changing anything for release.

Reply via email to