confofact
confofact

Reputation: 259

html2image not working

This is displaying when I try to run html2image command for html to image conversion:

"html2image: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory"

Upvotes: 1

Views: 1587

Answers (2)

dmanexe
dmanexe

Reputation: 1029

The correct command to resolve this in Ubuntu is:

sudo apt-get install libasound2

You will also get the best milage from having the latest version of Chromium.

Upvotes: 0

confofact
confofact

Reputation: 259

There is some issue with ubuntu, getting these when tried html to image:

AUDIT: Fri Oct 22 16:15:42 2010: 28352: client 1 connected from local host ( uid=1000 gid=1000 pid=29515 ) Xlib: extension "RANDR" missing on display ":1.0". current dir: /var/www/pressflow/html2image/libxpcom.so Couldn't start XPCOM.ubuntu@ip-10-243-110-162:/var/www/pressflow/html2image$ AUDIT: Fri Oct 22 16:15:42 2010: 28352: client 1 disconnected [dix] Could not init font path element /usr/share/fonts/X11/misc, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/Type1, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! [dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! [config/dbus] couldn't register object path

Upvotes: 0

Related Questions