LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2012, 08:15 PM   #1
SkyMeadow
Member
 
Registered: Feb 2012
Location: U.S.A.
Distribution: Ubuntu 14.04
Posts: 35

Rep: Reputation: Disabled
shared obj libwx_gtk2u_richtext-2.8.so.0 still unavail after build/install wxGTK


A ham radio application I need called trustedqsl-1.11 (tqsl) has been installed on my Salix 13.37 (a Slackware derivative).

tqsl reports an error and won't run:
Quote:
error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: cannot open shared object file: No such file or directory.
The missing library apparently belongs to wxWidgets, a shared C++ library providing a cross-platform widget toolkit; the Linux version of wxWidgets is called wxGTK.

I downloaded and built a stable recent version of it: wxGTK-2.8.12.tar.gz from sourceforce using the build script from Slackbuilds.

The compile and make appeared to finish without error. (Is there a way to view the full log that was generated? as no human could sit and watch compiler directives scrolling by on the screen for half an hour and then state positively that there was no error.)

The resulting file wxGTK-2.8.12-i486-2-SBo.tgz was in my /tmp directory. As root, I ran installpkg wxGTK-2.8.12-i486-2-SBo.tgz and the install reported no errors. ('Executing install script... package installed').

I shutdown the computer and came back later, powered it up, tried tqsl again and it gave the same error:

Quote:
tqsl: error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: cannot open shared object file: No such file or directory.
There is now a /wx directory in /usr/lib and there are some other wx* directories and files in /usr/bin which I presume were put there by the package install.

Somewhere I recalled seeing mention of a command to rebuild a shared object cache, so as root I ran it: ldconfig. This ran for a moment then finished with no messages.

I ran tqsl again and got the same error.

I do not know what the wxGTK package is supposed to look like in the file system or how to tell if it was built properly or installed properly. I do not know how to fix this error.

I studied many webpages including these:
http://www.linuxquestions.org/questi...idget-on-slack
http://www.cprogramming.com/tutorial...linux-gcc.html
but this problem is over my head.

The ready-to-install-package webpage http://connie.slackware.com/~alien/slackbuilds/
was down when I tried it.

Can anybody help? Or should I give up running Salix on this older laptop and install a heavier distro like LinuxMint which I've been running on my newer laptop for about 1 week now?

Thank you for reading this and thanks in advance for any help you can provide.

Regards,
 
Old 03-11-2012, 08:26 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
The package wxGTK-2.8.12-i486-1alien.tgz
http://connie.slackware.com/~alien/s...486-1alien.tgz
.. provides /usr/lib/libwx_gtk2u_richtext-2.8.so.0
 
Old 03-11-2012, 08:41 PM   #3
SkyMeadow
Member
 
Registered: Feb 2012
Location: U.S.A.
Distribution: Ubuntu 14.04
Posts: 35

Original Poster
Rep: Reputation: Disabled
Wow, that fixed it in a hurry! There must have been something amiss in my build. The pre-built one from ~alien works.

I appreciate your quick response! Thank you, thank you, thank you.

Last edited by SkyMeadow; 03-11-2012 at 08:50 PM. Reason: problem solved now
 
  


Reply

Tags
wxgtk


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] C++ - Two-way Communication between objects if A (obj) creates an instance of B (obj) Gavin Harper Programming 5 04-06-2011 06:27 AM
xchm: error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: cannot ope twwwater Slackware 9 08-20-2010 07:34 AM
gcc-obj install fail pingvina Linux - Software 1 08-12-2006 06:58 AM
Using Shared Obj implicitly ugenn Programming 0 04-15-2002 10:14 AM


All times are GMT -5. The time now is 03:30 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration