LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-08-2012, 08:01 AM   #1
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Rep: Reputation: 39
oDeskTeam application for Slackware 13.37++ 64 bit


Hi there,

I used to have a 32 bit slack current but just upgraded recently and started over installing most of the softwares installed on my old machine.

Been using Arch Linux package for oDesk Team 32 bit (the latest non-beta) and it works with few symlink tricks. (I already forgot the library it used).

Doing the same thing on my 13.37 64 bit machine (haven't gone full current yet), it installs the package but the bin does not execute.

Code:
lysender@darkstar:~$ /usr/bin/odeskteam-qt4
bash: /usr/bin/odeskteam-qt4: No such file or directory
lysender@darkstar:~$ file /usr/bin/odeskteam-qt4
/usr/bin/odeskteam-qt4: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped
lysender@darkstar:~$ uname -a
Linux darkstar 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz GenuineIntel GNU/Linux
lysender@darkstar:~$
 
Old 07-09-2012, 05:47 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
running proprietary binaries is always a pain, that should encourage everybody not to use them: I just tried unpacking the ubuntu_11.04 package (not the 12.04 one) with "ar x" and then "tar xf data.tar.gz" on my slackware64-current and it runs fine.
 
Old 07-09-2012, 06:43 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
What shows
Code:
readelf -l /usr/bin/odeskteam-qt4
It should be something like that:
Code:
  ...
  INTERP         0x0000000000000200 0x0000000000400200 0x0000000000400200
                 0x000000000000001c 0x000000000000001c  R      1
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  ...
Do you have file listed as interpreter?
 
Old 07-09-2012, 07:25 AM   #4
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
This is the output of readelf:

Code:
lysender@darkstar:~$ readelf -l /usr/bin/odeskteam-qt4 

Elf file type is EXEC (Executable file)
Entry point 0x437f90
There are 9 program headers, starting at offset 64

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  PHDR           0x0000000000000040 0x0000000000400040 0x0000000000400040
                 0x00000000000001f8 0x00000000000001f8  R E    8
  INTERP         0x0000000000000238 0x0000000000400238 0x0000000000400238
                 0x000000000000001a 0x000000000000001a  R      1
      [Requesting program interpreter: /lib/ld-linux-x86-64.so.2]
  LOAD           0x0000000000000000 0x0000000000400000 0x0000000000400000
                 0x0000000000348a0f 0x0000000000348a0f  R E    200000
  LOAD           0x0000000000348c28 0x0000000000948c28 0x0000000000948c28
                 0x00000000000046d8 0x0000000000007cd8  RW     200000
  DYNAMIC        0x0000000000348c88 0x0000000000948c88 0x0000000000948c88
                 0x0000000000000300 0x0000000000000300  RW     8
  NOTE           0x0000000000000254 0x0000000000400254 0x0000000000400254
                 0x0000000000000044 0x0000000000000044  R      4
  GNU_EH_FRAME   0x00000000002ad324 0x00000000006ad324 0x00000000006ad324
                 0x000000000001081c 0x000000000001081c  R      4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     8
  GNU_RELRO      0x0000000000348c28 0x0000000000948c28 0x0000000000948c28
                 0x00000000000003d8 0x00000000000003d8  R      1

 Section to Segment mapping:
  Segment Sections...
   00     
   01     .interp 
   02     .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame .gcc_except_table 
   03     .init_array .fini_array .jcr .dynamic .got .got.plt .data .bss 
   04     .dynamic 
   05     .note.ABI-tag .note.gnu.build-id 
   06     .eh_frame_hdr 
   07     
   08     .init_array .fini_array .jcr .dynamic .got 
lysender@darkstar:~$
That is for using the Arch package.

Thanks

Last edited by dc_eros; 07-09-2012 at 07:35 AM. Reason: UPDATED due to incorrect package tested.
 
Old 07-09-2012, 07:44 AM   #5
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
Solved the problem by creating several symlinks as follows:

1. /lib/ld-linux-x86-64.so.2 -> /lib64/ld-linux-x86-64.so.2
2. libcrypto.so.1.0.0
3. libnotify.so.4
 
  


Reply


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
CentOS 64 Bit Itanium - Need to run 32 bit application. HELP Squerl101 Linux - Server 2 11-02-2011 02:30 PM
cannot compile 32-bit application on 64-bit ubuntu 9.04 maxreason Ubuntu 5 06-06-2009 10:28 PM
32 bit Application on 64 bit Linux OS -- Memory Usage saleem_ak Linux - Newbie 3 04-01-2009 02:59 PM
compiling 32 bit application on 64 bit linux(x86_64) uttam_h Linux - Software 16 07-19-2008 02:33 PM
porting of 32 bit application on 64 bit linux architecture vikaschoudhry1985 Linux - Newbie 2 07-13-2008 10:39 PM


All times are GMT -5. The time now is 05:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration