LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2016, 03:58 AM   #1
cthibal
LQ Newbie
 
Registered: Apr 2015
Distribution: Slackware64-14.2
Posts: 27

Rep: Reputation: Disabled
memusagestat compiled in 32bit on x86_64-current ?


Hello guys,

I use a simplified installation of alien multilib on my 64-current: I installed only the 32bit "non-touchy" part of glibc libraries. As a consequence I have only a minimal framework to run 32bit applications, (I don't need to compile in 32bit)

Everything works fine but /usr/bin/memusagestat which is linked to 32bit while coming from the 64-current
* ldd /usr/bin/memusagestat:
linux-gate.so.1 (0xf7749000)
libgd.so.3 => not found
libpng16.so.16 => not found
libz.so.1 => not found
libm.so.6 => /lib/libm.so.6 (0xf76c0000)
libc.so.6 => /lib/libc.so.6 (0xf7527000)
/lib/ld-linux.so.2 (0x5662b000)

* as a comparison gcc still depends on 64bit: ldd /usr/bin/gcc
linux-vdso.so.1 (0x00007fff0f503000)
libm.so.6 => /lib64/libm.so.6 (0x00007fc3ebbe9000)
libc.so.6 => /lib64/libc.so.6 (0x00007fc3eb81c000)
/lib64/ld-linux-x86-64.so.2 (0x0000564f1f996000)

* I checked all other binary for depends and no problem.

Any idea of what is going on, maybe a patch is needed in 64-current ?

Hope it helps

Best regards

Larry

Last edited by cthibal; 01-28-2016 at 03:59 AM.
 
Old 01-28-2016, 04:11 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
No problems here:
Code:
# grep usr/bin/memusagestat /var/log/packages/*
/var/log/packages/glibc-2.22_multilib-x86_64-2alien:usr/bin/memusagestat
And:
Code:
# ldd /usr/bin/memusagestat                    
        linux-vdso.so.1 (0x00007ffefaff8000)
        libgd.so.3 => /usr/lib64/libgd.so.3 (0x00007fb4b7776000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fb4b7545000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fb4b732f000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fb4b702e000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fb4b6c62000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007fb4b6a0a000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fb4b67ce000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fb4b6534000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fb4b630a000)
        libXpm.so.4 => /usr/lib64/libXpm.so.4 (0x00007fb4b60f9000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fb4b5dbc000)
        libtiff.so.5 => /usr/lib64/libtiff.so.5 (0x00007fb4b5b47000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb4b5929000)
        /lib64/ld-linux-x86-64.so.2 (0x000055d757e94000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007fb4b56c8000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fb4b5392000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fb4b5182000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fb4b4f62000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fb4b4d5f000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fb4b4b5a000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fb4b4955000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fb4b4730000)
 
Old 01-28-2016, 05:08 AM   #3
cthibal
LQ Newbie
 
Registered: Apr 2015
Distribution: Slackware64-14.2
Posts: 27

Original Poster
Rep: Reputation: Disabled
I aggree with you Eric,
dependencies are fine when using the multilib package.

But I actually don't use it ;-), I only added required libs to run 32bit programs

# grep usr/bin/memusagestat /var/log/packages/*
/var/log/packages/glibc-2.22-x86_64-4:usr/bin/memusagestat

That's why I suspected the 64-current stock version has strange behavior when /lib/ld-linux.so.2 is found...

I investigate to see what is going on

Tot ziens

Larry
 
Old 01-28-2016, 05:57 AM   #4
cthibal
LQ Newbie
 
Registered: Apr 2015
Distribution: Slackware64-14.2
Posts: 27

Original Poster
Rep: Reputation: Disabled
Well it seems something went wrong on my system, I slackpkg reinstall glibc and now it is fine.

Thanks for your time Eric

Have a good day

Larry

[root][22] ~ # ldd /usr/bin/memusagestat
linux-vdso.so.1 (0x00007fff80782000)
libgd.so.3 => /usr/lib64/libgd.so.3 (0x00007ffbf4cc2000)
libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007ffbf4a90000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00007ffbf487b000)
libm.so.6 => /lib64/libm.so.6 (0x00007ffbf4540000)
libc.so.6 => /lib64/libc.so.6 (0x00007ffbf4173000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007ffbf3f1c000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007ffbf3ce0000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007ffbf3a45000)
libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007ffbf381c000)
libXpm.so.4 => /usr/lib64/libXpm.so.4 (0x00007ffbf360b000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007ffbf32cd000)
libtiff.so.5 => /usr/lib64/libtiff.so.5 (0x00007ffbf3059000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ffbf2e3b000)
/lib64/ld-linux-x86-64.so.2 (0x00005561d164c000)
libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007ffbf2bda000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007ffbf28a4000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007ffbf2694000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007ffbf2474000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007ffbf2271000)
libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007ffbf206c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ffbf1e67000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007ffbf1c42000)
 
  


Reply

Tags
multilib


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] How to run 32bit program on x86_64 Breeze Slackware 2 04-08-2011 10:21 AM
gnuplot in 32bit current is x86_64 ivandi Slackware 1 03-04-2010 01:52 PM
How to compile 32bit .c .cc On 64bit x86_64 systems? Leo Park Linux - Software 4 01-09-2008 10:57 PM
g++: No 64bit programs compiled, 32bit instead? Grife Programming 2 07-23-2007 07:53 PM
32bit X on x86_64 kernel? rosholm Linux - Software 4 10-20-2005 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:28 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