Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

undefined symbol: Perl_Gthr_key_ptr

2,293 views
Skip to first unread message

rwnev...@gmail.com

unread,
Apr 14, 2014, 2:27:22 PM4/14/14
to
All:


I run Bugzilla defect tracking on my AMI.

My Bugzilla instance is installed to /var/www/bugzila

I received an ACTION NEEDED AWS Security Advisory for Amazon EC2.

I updated OpenSSL per AWS recommendations.

Now when I run inde.cgi I receive:

/usr/bin/perl: symbol lookup error: /usr/local/lib/perl5/auto/Params/Validate/XS/XS.so: undefined symbol: Perl_Gthr_key_ptr

My perl version:

perl -version

This is perl 5, version 16, subversion 3 (v5.16.3) built for i386-linux-thread-multi
(with 23 registered patches, see perl -V for more detail)

I also updated Bugzilla just recently.

I have run for years now on AMI without a problem, so the recent openssl probably caused the problems.

I have also posted to Amazon AMI formum but no answer.

Thorsten Schöning

unread,
Apr 14, 2014, 4:01:18 PM4/14/14
to support-...@lists.mozilla.org
Guten Tag rwnev...@gmail.com,
am Montag, 14. April 2014 um 20:27 schrieben Sie:

> I updated OpenSSL per AWS recommendations.

> Now when I run inde.cgi I receive:

> /usr/bin/perl: symbol lookup error:
> /usr/local/lib/perl5/auto/Params/Validate/XS/XS.so: undefined symbol: Perl_Gthr_key_ptr

Looks like incompatibilities between your Perl and pre compiled native
packages. How did you install those, using CPAN or the package manager
of your distri? I would always prefer the package manager unless a
needed package is not available at all.

If you search for the error using your favorite search engine your
will find a lot of results regarding this error and all seem to
suggest to delete modules installed by CPAN and reinstall them. It may
be easier to remove perl at all using your package manager, delete
everything that has been left behind, this should be the CPAN modules,
and reinstall Perl and the needed packages for Bugzilla using your
package manager only.

Depending on the user you used to install modules using CPAN, if at
all, you may want to delete ~/.cpan or /root/.cpan as well.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

rwnev...@gmail.com

unread,
Apr 14, 2014, 5:22:58 PM4/14/14
to
I used AWS yum. I was hoping not to back out anything. Can I just backout the module that Bugzilla is complaining about?

On this specific module I could not find much.

Thorsten Schöning

unread,
Apr 15, 2014, 1:54:23 AM4/15/14
to support-...@lists.mozilla.org
Guten Tag rwnev...@gmail.com,
am Montag, 14. April 2014 um 23:22 schrieben Sie:

> I used AWS yum. I was hoping not to back out anything. Can I just
> backout the module that Bugzilla is complaining about?

Bugzilla is not complaining about anything, it's your Perl that does.
The mentioned package is a dependency of a lot of other packages so
no, just removing or whatever this one surely won't help you. Besides
that, I would expect the same problem to occur with every package
which uses native code.

What's the problem with uninstalling Perl? Should be pretty easy if
you used yum.

rwnev...@gmail.com

unread,
Apr 15, 2014, 11:12:48 PM4/15/14
to
Thorsten:

I did not have the cojones to reinstall perl.

perl -V returned

Compiled at Apr 2 2014 18:13:48
@INC:
/usr/local/lib/perl5
/usr/local/share/perl5
/usr/lib/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib/perl5
/usr/share/perl5


The filesystem causing the problem was /usr/local/lib/perl5, so I decided to just archive it as perl5.bak and defined perl5 as a symlink to /usr/lib/perl5

bugzilla fired right up.

John Mark Batabat

unread,
Nov 10, 2023, 9:07:22 AM11/10/23
to
Hi,

Did it solve the problem?
0 new messages