Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7051257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:14:31+00:00 2026-05-28T03:14:31+00:00

I have installed python 2.7 on CentOS 5.5 x86_64 machine. $ file /opt/python2.7.1/bin/python /opt/python2.7.1/bin/python:

  • 0

I have installed python 2.7 on CentOS 5.5 x86_64 machine.

$ file /opt/python2.7.1/bin/python

/opt/python2.7.1/bin/python: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

Then I tied to run a basic login script using selenium web driver & it fails with the following error.

selenium.common.exceptions.WebDriverException: Message: 'The browser appears to have exited before we could connect. The output was: Failed to dlopen /usr/lib/libX11.so.6\ndlerror says: /usr/lib/libX11.so.6: wrong ELF class: ELFCLASS32\n'

Why it’s using 32 bit X11 library instead of using 64 bit X11 library? How can I make python use 64 bit libraries?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:14:31+00:00Added an answer on May 28, 2026 at 3:14 am

    I have the same error on Scientific Linux 6, and tried changing the libraries as described here:
    http://code.google.com/p/selenium/issues/detail?id=2852

    Firefox 64bit + x_ignore_nofocus fails because:
    In 64 bit mode, as we have see, the library x_ignore_nofocus
    is looking for libX11.so.6 on the way “/usr/lib/libX11.so.6”
    But this symlink /usr/lib/libX11.so.6 is reference to
    /usr/lib/libX11.so.6.2.0, which is 32bit library.

    Changing the link didn’t work for me, but I did not try patching selenium. Hopefully this will be fixed in the next release.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My CentOS 5.5 server has both Python 2.4 and Python 2.7 installed (to /opt/python2.7.2
I am running a windows machine have installed Python 2.5. I also used the
I am working in python 2.6 (installed alongside Python2.4.3 required for CentOS) and I
I have python 2.6.7 installed in my mac (/usr/local/bin/python). Previously, I installed python-twitter library.
I have installed Python 2.6.6 on CentOS 5.4, [@SC-055 lxml-2.3beta1]$ python Python 2.6.6 (r266:84292,
I've just installed Python2.6 on CentOS 5. I have to type python26 to run
I have installed Python 2.6.7 in $HOME/local of a machine which already has a
I have installed Sphinx in order to document some Python modules and class I'm
I have installed GDB 7.0 and python per the following instructions . In the
I have installed numpy1.3,scipy 0.7.1,matplotlib 0.99.1.1 and python 2.5 when I import pylab I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.