LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-01-2010, 10:28 AM   #1
cbravo135
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
trouble installing usbview due to unrecogized file format


I was able to configure fine but when I make I get this error:

Quote:
[root@pc7341 usbview-1.1]# make -j 2
make all-am
make[1]: Entering directory `/home/l_tester/usbview-1.1'
gcc -g -O2 -Wall -o usbview main.o interface.o callbacks.o usbtree.o showmessage.o usbparse.o configure-dialog.o about-dialog.o ./../glib-2.24.0/gio/libgio-2.0.la ./../glib-2.24.0/gobject/libgobject-2.0.la ./../glib-2.24.0/gmodule/libgmodule-2.0.la -pthread ./../glib-2.24.0/glib/libglib-2.0.la ./../glib-2.24.0/gthread/libgthread-2.0.la -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lrt
./../glib-2.24.0/gio/libgio-2.0.la: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [usbview] Error 1
make[1]: Leaving directory `/home/l_tester/usbview-1.1'
make: *** [all] Error 2
I know the file does exist and have no idea why it wouldn't recognize the format.
 
Old 07-01-2010, 01:00 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ. .. ..

Why do you use glib-2.24 ? ?
'usbview-1.1' requires gtk2-2.05 and an equivalent old glib2.

Both are already present on any Linux OS.
If you have Redhat EL5 or similar: # yum install gtk2-devel
Which will provide the development files for gtk2-2.10.4.
http://mirror.centos.org/centos/5.4/...0.el5.i386.rpm

About libgio-2.0.la : Is a short text file.
Make a backup. Edit a few things, and it will fit.
..

Last edited by knudfl; 07-01-2010 at 01:19 PM.
 
Old 07-02-2010, 01:55 AM   #3
cbravo135
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
what should i change?

Thank you for the warm welcome.

When trying to install usbview it informed me of the missing gtk2 dependency. when attempting to install gtk2 it had many dependencies so I went about solving them just getting the most up to date version of everything that worked. Eventually I got gtk2 to install successfully and I moved on to installing usbview again.

What do you suggest I change in libgio-2.0.la? I would have no idea what I can take out and what must stay.
 
Old 07-02-2010, 02:11 AM   #4
cbravo135
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
so I do not think I installed gtk2 before now, I installed gtk+. Now I need to work on solving the dependencies of gtk2. I took a comment line out of the .la file I was talking about and usbview thought it installed properly bur when I try to run it, it can not find a library it needs.
Quote:
./usbview: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
 
Old 07-02-2010, 02:51 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
? Why didn't you do # yum install gtk2-devel
?
Then yum takes care of the dependencies.

About gtk : gtk+ = gtk2 = gtk-2.xx.x

Not finding libgio-2.0.so.0 : Where did you hide it ?
'usbview' will look in the LD_LIBRARY_PATH only.
Say you have it installed to /usr/local/glib224/
Then you can do this command before typing 'usbview' :
export LD_LIBRARY_PATH=/usr/local/glib224/lib/
.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 8 installation fail due to ISOFS: Unable to identify CD-ROM format centguy Linux - Hardware 14 12-27-2008 01:01 AM
Trouble installing SuSE 10.3 due to RAID dmk Linux - General 5 06-19-2008 11:56 AM
Trouble installing a program from a tar file sixhand651 Linux - Newbie 4 03-11-2006 08:32 PM
USBView Error Xena Linux - Newbie 2 12-26-2005 07:09 PM
trouble installing rpm file mpaiello Linux - Newbie 7 09-28-2003 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration