Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - General Questions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - General Questions If your question doesn't fit in any other category below ask in here.

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-Jun-2008, 04:22
gilap
Guest
 
Posts: n/a
Default

Hello,
I'm trying to install the pipslite printer driver for my Epson DX7400 on OpenSuSE 10.3 64bit.
When I run the pipslite-install program (located in usr/bin) I get the following error message:
"error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory."
I downloaded the relevant package and installed it. libgtk-1.2.so.0 is now in a directory called usr/lib64.

I presume that the file needs to be in the same directory as the install file, but how can I copy it there? I tried dragging it via Konqueror - I think it's called - but the copy option is disabled. I know the basic copy command for the terminal, but that didn't work either.

If anyone could help, that would be great, but could you please make the instructions fool-proof, as I have been on Linux for less than a week...
Many thanks
  #2 (permalink)  
Old 04-Jun-2008, 07:46
rootserver
Guest
 
Posts: n/a
Default

first of all, if you are new to linux:
1. never try to copy a lib from lib64 to lib. In /usr/lib (or whichever bla/lib directory), this directory is reserved for 32-bit libraries. Or simly never copy files in the system directories unless you know exactly what you are doing. (In windows the same rule appllies)
2. never use konqueror or simmilar filebrowser to poke in the filesystem beside your $HOME/. Try to use shell commands or the Midnight Commander (mc)
3. if you installe some library just by "copying" into the standart path, then run ldconfig to create a new /etc/ld.so.cache. The standart path can be found in /etc/ld.so.conf. Otherwise the new library componets cannot be found.

for your problem: maybe you are trying to install a 32-bit programm and this needs a 32-bit library. You can look for a staticaly linked version of it, or you install a 32-bit variant of the libgtk-1.2. If you simply copy the libgtk-1.2 from lib64 into lib, you usually will receive an error message. The 32-bit libraries can usually be installed without any conflicts!

good luck

  #3 (permalink)  
Old 04-Jun-2008, 07:55
gilap
Guest
 
Posts: n/a
Default

Hi,
thanks for the quick reply. The file (printer driver) is a i386 file. Unfortunately I don't know what the rest of your answer means

Shouldn't I be using the file browser at all for copying files or does this only apply for "important" files (ie unimportant = mp3s etc.)

Thanks
  #4 (permalink)  
Old 04-Jun-2008, 08:49
rootserver
Guest
 
Posts: n/a
Default

Quote:
Hi,
thanks for the quick reply. The file (printer driver) is a i386 file. Unfortunately I don't know what the rest of your answer means

Shouldn't I be using the file browser at all for copying files or does this only apply for "important" files (ie unimportant = mp3s etc.)

Thanks
[/b]
i386 stand for the "old Intel" 32-bit architecture valid from the year 1986 80386 CPU up to the 80586 (Pentium) CPUs. This means you should select in yast the 32-bit version of the libgtk-1.2 *additionally* to the 64-bit library, they will not conflict.

I wrote that you should not use such file browsers like konqueror for *important* files, means files that don't belong to you. If you copy files as root, use instead the cp command and check the permissions after (or before) the copy operation. (If you are familiar with the Norton Commander, use the Midnight Commander.) Also take care if you copy soft links, some libraries are just links to the "real" library file, like the libgtk-1.2.so is just a soft link to libgtk-1.2.so.0.9.1 (e.g. in suse 10.3). What i wanted to say is, that it is allways a good idea to keep as much controll as possible over the files if copying system files.


  #5 (permalink)  
Old 04-Jun-2008, 09:58
FeatherMonkey
Guest
 
Posts: n/a
Default

I think to solve the issue you'll need to install 32bit gtk really unsure what kind of dependency issues you'll get though.

With out a 64bit driver it will have problems, you could try using the tar.gz and see if it will compile for 64bit I noticed an rpm. http://avasys.jp/hp/menu000000500/hpg000000442.htm there is a better howto but its ubuntu/deb based http://forums.linux-foundation.org/read.ph...28,3328,quote=1 some of that looks fiddly and not easy. Think you've been trumped by lack of hardware support linux occasionally has.

But I also suspect the above has gone over your head, think the easiest maybe to try either doing gtk as 32bit but really unsure about this. I personally think compiling maybe the best bet if you wish to stick to 64bit. Though this may not compile cleanly.

Or install 32bit Suse this will probably be the easiest.

You've also not indicated how you installed did you not get errors when installing or attempting to resolve dependencies, did you use the rpm and a software manager?

EDIT
Ok well I easily changed gtk to 32bit also there is a compat lib gtk-32 didn't meet any real dep problems so give the 32bit compat a try first if not then try by installing gtk as i586.
  #6 (permalink)  
Old 04-Jun-2008, 12:28
gilap
Guest
 
Posts: n/a
Default

I installed the rpm-file, which is only available as i386 (it's a new 07 printer model), first via the Terminal, but it had a few dependency issues. Then I used Yast, and that worked fine.
It's only when I start running the install-file, that I get a problem.


Where in yast do I choose the 32 bit version of libgtk? I wasn't given a choice, when I installed the rpm.

I don't know what you mean by compiling. I've heard about it, but I don't know how to do it. I've only been with Linux for 5 days and I did order some books, but they seem to take forever to arrive.
  #7 (permalink)  
Old 04-Jun-2008, 14:06
rootserver
Guest
 
Posts: n/a
Default

Quote:
Where in yast do I choose the 32 bit version of libgtk? I wasn't given a choice, when I installed the rpm.

I don't know what you mean by compiling. I've heard about it, but I don't know how to do it. I've only been with Linux for 5 days and I did order some books, but they seem to take forever to arrive.
[/b]
libgtk is a part of the gtk package (Gnime Tool Kit version 1).

1. start yast.
2. Chose "Software Management" in the "Software" section. Wait until it starts.
3. Switch the Button "RPM "Provides"" on.
4. write "libgtk-1.2" in the search mask. Wait
5. Yast should offer two choices: "gtk" and "gtk-32bit"
6. Install gtk-32bit, have fun.

ACHTUNG: if the search does not provide gtk-32bit, you may add more repositories. Chose in the "community repositories" the oss repository (and maybe also the non-oss nad the packman repositories), if you have permanent internet access. You may also have the idea to install the libraries directly through rpm. In such a case you have to download the gtk-32bit rpm from some SuSE repository mirror.

1. get the gtk-1.2.10-993.i586.rpm from e.g. ftp://ftp5.gwdg.de/pub/opensuse/distribut...10-993.i586.rpm
2. su to root
3. type 'rpm -i gtk-1.2.10-993.i586.rpm'
4. you may receive errors about missing dependencies. Got back to Step 1 and get the missing rpm. Install them with 'rpm -i package.rpm'.

This is usually done by yast if you have enabled some online repositories.

You wrote, you are new to UNIX/Linux. What is your computer background and what for you want use Linux? Usually i would not buy any Linux book. All basic help you need is provided by the books on the dvd and by the opensuse-manual. Advanced help can be found in the HowTos and the best help is given by the man-pages and the info-pages, once you understand the syntax.


  #8 (permalink)  
Old 04-Jun-2008, 14:29
gilap
Guest
 
Posts: n/a
Default

Oh great, that worked! Thank you!!

But dare I ask...I need to start CUPS to register the printer. How do I start Cups?

My computer background...hmm...well, I do remember the old Dos, but I never did anything else with it other than starting games or deleting the contents of Dad's harddrive. Then came Windows and I stuck with it. I only use the computer for the odd game (great to have a civ-clone), word processing and image editing (as a hobby). I have no knowledge of programming.
I wanted to give Linux a try because a) my brother swears by it b) I'm totally fed up with Microsoft and c) I like a challenge.

Many many thanks
G

  #9 (permalink)  
Old 04-Jun-2008, 15:09
rootserver
Guest
 
Posts: n/a
Default

Quote:
But dare I ask...I need to start CUPS to register the printer. How do I start Cups?
[/b]
i suppose cups is already running on your system, but it has to be configured. Go in yast into the "Hardware" section and select "Printer". The select "Add" and follow the instructions. Unfortunatly i can not help you further on this special printer. But i think google can help. You can check if cups is running by typing "rccups status" in a shell (terminal or console) or in yast if you select "System Services (Runlevel)" in the "System" section.

I for myself never used other than postscript printers with an ethernet interface. On eBay you can often buy old refited office printers for cheap money. Thats what i do.

Quote:
My computer background...hmm...well, I do remember the old Dos, but I never did anything else with it other than starting games or deleting the contents of Dad's harddrive. Then came Windows and I stuck with it. I only use the computer for the odd game (great to have a civ-clone), word processing and image editing (as a hobby). I have no knowledge of programming.
I wanted to give Linux a try because a) my brother swears by it B) I'm totally fed up with Microsoft and c) I like a challenge.
[/b]
If you depend on Word and Excell, there is no alternative to Windows, especially if you use all features of MS-Office. Most other software has an Linux equivalent, like gimp<->photoshop and there is also a lot of software that is indespensable for web developers: ImageMagick, GD, php, MySQL, ... If you want to write more than 5 pages, use LaTeX and you will never turn back to Word/Windows.
  #10 (permalink)  
Old 04-Jun-2008, 17:45
FeatherMonkey
Guest
 
Posts: n/a
Default

http://forums.linux-foundation.org/read.ph...28,3328,quote=1
The above link may well help with further configuring it really does look fiddly.

It links out to here http://ubuntuforums.org/showthread.php?t=568268 where you need a ppd file from.

I really don't know as I've always been lucky with printers but if things don't quite work out... Think that solution will be close to it, cups is cups regardless of distro just a few commands/packages may be slightly different..

Bear that thread in mind if you don't get any where I think it's new but this is speculation, but generally the newer hardware can be a little behind.
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2