libjpeg.so.62 error saat menjalankan wxcam

wxcam: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory.Pernahkan anda mengalami di saat anda ingin membuka wxcam di Slackware anda tetapi wxcam tidak bekerja?
Kalau pernah coba buka terminal di Slackware kita dan ketikkan:

$ wxcam
wxcam: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

Nah dari hasil di atas itu, si terminal berbicara kepada kita kalau wxcam tidak bisa terbuka di karenakan ada librari libjpeg.so.62 yang belum terinstall di Slackware kita. Nah bagaimana dong cara mengatasinya?
Cara mengatasinya kita cukup buka Google lalu copy paste error tadi di google. Atau bagi anda yang tidak mau bercapek-capek ria. Anda bisa langsung mendownloadnya di pkgs.org. Lalu klik yang binary package. Atau anda bisa mendowload versi rpm yang lain di situs pkgs.org Tersebut.
Setelah file librari itu di download. Saatnya anda mengkompresnya menjadi format tgz. Caranya:

# rpm2tgz libjpeg-6b-37.i386.rpm

Sampai menghasilkan file .tgz. Dan ini dia prosesnya:

Slackware package maker, version 3.14159.

Searching for symbolic links:
usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0

Making symbolic link creation script:
( cd usr/lib ; rm -rf libjpeg.so.62 )
( cd usr/lib ; ln -sf libjpeg.so.62.0.0 libjpeg.so.62 )

It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y
Removing symbolic links:
removed `./usr/lib/libjpeg.so.62′

Creating your new ./install/doinst.sh…

This next step is optional – you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package: /home/aim/Downloads/libjpeg-6b-37.i386.tgz

./
usr/
usr/share/
usr/share/doc/
usr/share/doc/libjpeg-6b/
usr/share/doc/libjpeg-6b/README
usr/share/doc/libjpeg-6b/usage.doc
usr/share/man/
usr/share/man/man1/
usr/share/man/man1/jpegtran.1.gz
usr/share/man/man1/djpeg.1.gz
usr/share/man/man1/wrjpgcom.1.gz
usr/share/man/man1/cjpeg.1.gz
usr/share/man/man1/rdjpgcom.1.gz
usr/lib/
usr/lib/libjpeg.so.62.0.0
usr/bin/
usr/bin/jpegtran
usr/bin/djpeg
usr/bin/rdjpgcom
usr/bin/cjpeg
usr/bin/wrjpgcom
install/
install/doinst.sh
WARNING: /usr/share/man (with possibly not gzipped man pages) detected

Slackware package /home/aim/Downloads/libjpeg-6b-37.i386.tgz created.

Nah setelah itu coba pastikan apakah file libjpeg-6b-37.i386.tgz telah terbuat? Maka ketikkan perintah ini:

# ls /home/aim/Downloads

Hasilnya:

PlayOnLinux_4.0.12.tgz   libjpeg-6b-37.i386.tgz
kompozer   libreoffice
kompozer-0.8b3.en-US.gcc4.2-i686.tar.gz   libreoffice.tar.gz
libjpeg-6b-37.i386.rpm

Wah file libjpeg-6b-37.i386.tgz ternyata sudah ada di direktory Downloads saya (dikarenakan saya menaruh file libjpeg-6b-37.i386.rpm di Downloads juga)
Sekarang saatnya menginstall file libjpeg-6b-37.i386.tgz. Caranya:

# installpkg libjpeg-6b-37.i386.tgz

Hasilnya:

Verifying package libjpeg-6b-37.i386.tgz.
Installing package libjpeg-6b-37.i386.tgz:
PACKAGE DESCRIPTION:
Executing install script for libjpeg-6b-37.i386.tgz.
Package libjpeg-6b-37.i386.tgz installed.

Oke librarinya pun sudah terinstall, sekarang saatnya mencoba wxcam ini..

$ wxcam

Wah ternyata berhasil dan ini dia hasilnya:

Advertisements

7 comments

  1. @Om Willy:
    Wah mungkin library yang itu di saya hilang, soalnya sebelumnya wxcam bisa berfungsi.. Tapi karna ngoprek sana-sini pas di cek muncul seperti itu dah.. Tapi sekarang sudah baikan lagi 😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s