Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hamlib: install 64-bit *AND* 32-bit? CQRLOG wants 32-bit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
gordonp
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 102

PostPosted: Thu May 27, 2010 3:13 pm    Post subject: hamlib: install 64-bit *AND* 32-bit? CQRLOG wants 32-bit Reply with quote

Hi, fellow Gentoo'ers:

I'm a ham-radio operator, and I've got hamlib-1.2.10 installed on both my Core2Quad (Intel), and my PhenomII X4 940 (AMD) machines. hamlib-1.2.10 was installed through emerge, and the 64-bit result is happy controlling my Kenwood TS-850 transceiver, and interfacing to software like xlog (for logging), xdx (for DX spotting), fldigi (data-over-radio), and gnome-rig (virtual-radio-front-panel).

However, I want to consolidate some of the software, and enjoy a more-up-to-date UI... so, I found cqrlog:
http://www.cqrlog.com/
cqrlog tempts me, by replacing xdx and xlog, along with integrating xplanet (for grayline and propagation ideas) - running just cqrlog and fldigi is an attractive goal!
This cqrlog-0.9.3 installed OK (basically dumped into a sub-dir within my home-directory), but it won't run; I get the error:
Code:
./cqrlog: error while loading shared libraries: libhamlib.so.2: cannot open shared object file: No such file or directory

Doing a bit of basic checking, I can see:
Code:
gordp@zero:/home/users/gordp/cqrlog-> ldd cqrlog
   linux-gate.so.1 =>  (0xf7740000)
   libpthread.so.0 => /lib32/libpthread.so.0 (0x49abb000)
   libdl.so.2 => /lib32/libdl.so.2 (0x49ab5000)
   librt.so.1 => /lib32/librt.so.1 (0x4a6a9000)
   libcrypt.so.1 => /lib32/libcrypt.so.1 (0xf76d9000)
   libX11.so.6 => /usr/lib32/libX11.so.6 (0x49d4a000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0x4a364000)
   libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0x49f0e000)
   libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0x4a47d000)
   libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0x49d0d000)
   libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0x49afe000)
   libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0x4a6b4000)
   libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0x49bf4000)
   libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0x49e7a000)
   libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0x49ef2000)
   libhamlib.so.2 => not found
   libc.so.6 => /lib32/libc.so.6 (0x4996b000)
   /lib/ld-linux.so.2 (0x4994b000)
   libxcb.so.1 => /usr/lib32/libxcb.so.1 (0x49cf2000)
   libXau.so.6 => /usr/lib32/libXau.so.6 (0x49e6e000)
   libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0x49e66000)
   libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0x4a3d7000)
   libresolv.so.2 => /lib32/libresolv.so.2 (0x4a574000)
   libm.so.6 => /lib32/libm.so.6 (0x49ad6000)
   libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0x4a358000)
   libXi.so.6 => /usr/lib32/libXi.so.6 (0x4a683000)
   libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0x4a66c000)
   libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0x4a632000)
   libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0x4a676000)
   libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0x4a35e000)
   libXext.so.6 => /usr/lib32/libXext.so.6 (0x4a621000)
   libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0x4a3d1000)
   libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0x4a475000)
   libcairo.so.2 => /usr/lib32/libcairo.so.2 (0x4a5b1000)
   libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0x4a512000)
   libpng12.so.0 => /usr/lib32/libpng12.so.0 (0x4a58b000)
   libXrender.so.1 => /usr/lib32/libXrender.so.1 (0x4a469000)
   libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0x4a37f000)
   libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0x4a63e000)
   libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0x4a2bb000)
   libz.so.1 => /lib32/libz.so.1 (0x4a342000)
   libexpat.so.1 => /usr/lib32/libexpat.so.1 (0x4a3a9000)

and also:
Code:
gordp@zero:/home/users/gordp/cqrlog-> locate libhamlib
/usr/lib64/hamlib/libhamlib.so.2.0.10
/usr/lib64/hamlib/libhamlib.so.2
/usr/lib64/hamlib/libhamlib.so
/usr/lib64/hamlib/libhamlib.la
/usr/lib64/hamlib/libhamlib++.so.2.0.5
/usr/lib64/hamlib/libhamlib++.so.2
/usr/lib64/hamlib/libhamlib++.so
/usr/lib64/hamlib/libhamlib++.la


I Googled, and emailed the authours of cqrlog, and responses all tell me to install 32-bit hamlib. However, my current 64-bit hamlib is perfectly happy, and I don't want to break what's working...

So, my questions:

    -what is the best way to proceed? hamlib is a "middle layer" between my desired applications, and my hardware/radio, so any changes here will impact up (the application) and down (hardware).

    -is there a way to even build a 32-bit version of hamlib (from portage)?

    -is there some kind of 32-bit-compatability-wrapper, to make this cqrlog (only) satisfied, in what is basically a 64-bit Gentoo world?


Thanks for any and all suggestions and ideas!
-Gord
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu May 27, 2010 4:04 pm    Post subject: Reply with quote

may get it done with:
Code:
emerge lafilefixer
lafilefixer --justfixit
Back to top
View user's profile Send private message
gordonp
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 102

PostPosted: Thu May 27, 2010 5:24 pm    Post subject: Reply with quote

Thanks for the suggestion, but lafilefixer didn't let cqrlog run... same error (libhamlib.so.2: cannot open shared object file).

Any other ideas? ...TIA!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum