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 5935355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:14:32+00:00 2026-05-22T15:14:32+00:00

Working on Ubuntu 10.04 Lucid webserver (linode). Followed these instructions to install wkhtmltopdf link

  • 0

Working on Ubuntu 10.04 Lucid webserver (linode).

Followed these instructions to install wkhtmltopdf link (only one that worked for me.)

I can run wkhtmltopdf http://www.google.com google.pdf and it works.

Anything from my rails app generates a 500 error.
apache error.log

/bin/wkhtmltopdf: symbol lookup error: /bin/wkhtmltopdf: undefined symbol: _ZN9QListData11detach_growEPii

rails log

Rendered customers/agreement_form.html.erb (15.0ms)
Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.6ms)

RuntimeError (command failed: /bin/wkhtmltopdf --encoding UTF-8 --page-size A4 --margin-top 0.5in --margin-right 0.75in --margin-bottom 0.5in --margin-left 0.75in --print-media-type --quiet - -):
  app/middleware/flash_session_cookie_middleware.rb:19:in `call'

EDIT

ldd /bin/wkhtmltopdf 
    linux-gate.so.1 =>  (0xf57fe000)
    libwkhtmltox.so.0 => /lib/libwkhtmltox.so.0 (0xb7718000)
    libQtWebKit.so.4 => /root/sources/wkqt/lib/libQtWebKit.so.4 (0xb64cd000)
    libQtSvg.so.4 => /root/sources/wkqt/lib/libQtSvg.so.4 (0xb6473000)
    libQtXmlPatterns.so.4 => /root/sources/wkqt/lib/libQtXmlPatterns.so.4 (0xb6047000)
    libQtGui.so.4 => /root/sources/wkqt/lib/libQtGui.so.4 (0xb5551000)
    libQtNetwork.so.4 => /root/sources/wkqt/lib/libQtNetwork.so.4 (0xb5423000)
    libQtCore.so.4 => /root/sources/wkqt/lib/libQtCore.so.4 (0xb517c000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb5163000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb506c000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb5046000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5027000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb4ecd000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb4ec3000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb4e92000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb4e1c000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb4e0c000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb4cef000)
    libz.so.1 => /lib/libz.so.1 (0xb4cda000)
    libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb4cd3000)
    librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb4cca000)
    libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb4c00000)
    libpng12.so.0 => /lib/libpng12.so.0 (0xb4bdb000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb4b9c000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0xb4b92000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0xb4b79000)
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb4b75000)
    /lib/ld-linux.so.2 (0xb7781000)
    libexpat.so.1 => /lib/libexpat.so.1 (0xb4b4e000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4b34000)
    libpcre.so.3 => /lib/libpcre.so.3 (0xb4b02000)
    libuuid.so.1 => /lib/libuuid.so.1 (0xb4afd000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb4af9000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4af3000)
  • 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-22T15:14:33+00:00Added an answer on May 22, 2026 at 3:14 pm

    Typically, your RoR application is going to run as a different user than root: perhaps www-data, perhaps another system account.

    Can that user read /root/sources/wkqt/lib/libQtSvg.so.4 and all the other libraries in that directory?

    You might need to change the permissions on:

    /root
    /root/sources
    /root/sources/wkqt
    /root/sources/wkqt/lib
    

    to allow everyone read and execute privileges. You can check permissions with ls -l; set permissions with chmod(1):

    chmod 755 /root /root/sources /root/sources/wkqt /root/sources/wkqt/lib
    chmod 644 /root/sources/wkqt/lib/*so*
    

    In order to link at run time, the linker ld.so(8) needs to be able to read the libraries and all directories to get to the libraries.

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

Sidebar

Related Questions

I've been working in Ubuntu 12.04 and one of the things that I am
Iam working on Ubuntu.(Linux) I want to redirect from the page one.php to two.php,
I am working on Ubuntu environment (LAMP) .But when i install symfony2 on windows
I am currently working on a project that requires the rackup command on ubuntu
I am working in ubuntu, I have a folder that contains a subfolder. in
I've followed this otherwise excellent tutorial on getting Xen working with Ubuntu but am
I am working out some cronjobs on ubuntu lucid. I've successfully got the cronjob
I'm trying to get MSSQL working on Ubuntu 12.04 via ODBC, and I've followed
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
I'm about to reinstall numpy and scipy on my Ubuntu Lucid. As these things

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.