Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   64 Studio User (http://www.linux-archive.org/64-studio-user/)
-   -   SOLVED 64 bit vs 32 bit - The /usr/lib32 issue can be solved by a command called "getlibs" (http://www.linux-archive.org/64-studio-user/294550-solved-64-bit-vs-32-bit-usr-lib32-issue-can-solved-command-called-getlibs.html)

Ralf Mardorf 12-13-2009 10:33 AM

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


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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.