FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 12-13-2009, 10:33 AM
Ralf Mardorf
 
Default SOLVED 64 bit vs 32 bit - The /usr/lib32 issue can be solved by a command called "getlibs"

Hi

this might help everyone who has got trouble because of 32 bit vs 64
bit, it isn't just to solve the trouble for the application Unstoppable
Copier, but I guess to solve trouble for a lot of other applications too.

I downloaded Roadkil's Unstoppable Copier as x86_64 version from
http://www.roadkil.net/program.php?ProgramID=29, but there's a problem,
because it anyhow needs a 32 bit lib.

Because the installed lib was missing, as a test I added this invalid
link ...

spinymouse-sudo@64studio:~/Download$ ./unstopcp --help
./unstopcp: error while loading shared libraries: libqt-mt.so.3: wrong
ELF class: ELFCLASS64
spinymouse-sudo@64studio:~/Download$ ls -al /usr/lib32/libqt-mt*
lrwxrwxrwx 1 root root 22 2009-12-13 11:43 /usr/lib32/libqt-mt.so.3 ->
/usr/lib/libqt-mt.so.3

... just to know if it expect a 32 bit lib in this directory. After the
test I deleted the link.

I still have got a 32 bit chroot for my 64 Studio 3.0-beta3, but I
prefer a way to install 32 bit libs to the regular installation.

Searching the web I found information:

"Also never, ever, ever force install 32bit libraries. They could
overwrite existing 64bit libraries and make your system unstable.

You can use getlibs <http://ubuntuforums.org/showthread.php?t=474790> to
safely install 32bit software, forcing an application is ok, bu never
libraries." (http://ubuntuforums.org/showthread.php?t=928070)

So I get getlibs and tested it ...

spinymouse-sudo@64studio:~/Download$ sudo dpkg -i getlibs-all.deb
Selecting previously deselected package getlibs.
(Reading database ... 173799 files and directories currently installed.)
Unpacking getlibs (from getlibs-all.deb) ...
Setting up getlibs (2.06) ...
spinymouse-sudo@64studio:~/Download$ sudo getlibs -l libqt-mt
libqt-mt: libqt3-mt
The following i386 packages will be installed:
libqt3-mt
Continue [Y/n]? y
Downloading ...
Installing libraries ...

... and now I can launch Unstoppable Copier, btw. Unstoppable Copier has
got no --help option .

Hth,
Ralf
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 

Thread Tools




All times are GMT. The time now is 12:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org