LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2007, 11:14 AM   #1
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Rep: Reputation: 15
Need libXm.so.3, but it wrecks xWindows in FC7


Hey all,

I'm trying to run an old program which requires libXm.so.3. The only place I can find that library is in an old xOrg library released as an update to Fedora Core 4. When I install that rpm, my program works, but upon reboot, xWindows won't start and I end up having to do a complete reinstall of Fedora 7.

So, can anyone tell me how to make my program work with a more recent library? Or how to download that library but not wreck my xWindows? Thanks for the help!!!
 
Old 07-15-2007, 11:45 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Restore your Xorg so it works. Now unpack the RPM that contains libXm.so.3 in say ~/lib/. Open a terminal, xterm, Kterm or whatever it's called and export the path to libXm.so.3:
Code:
export LD_LIBRARY_PATH=~/lib
now run the application. If that works you can turn the CLI lines for exporting and starting the app into a wee shell script.
 
Old 07-15-2007, 11:49 AM   #3
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Ok. It's a work computer, so I won't be able to try this till tomorrow.

In the meantime, I'm not sure I understand the last line of your post. Should I put the path command in my .bashrc file?
 
Old 07-15-2007, 12:46 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Either a script in your home:
Code:
#!/bin/sh -
export LD_LIBRARY_PATH=~/lib
exec /path/and/applicationname --any-switches-here
exit 0
or in your ~/.bashrc if you want to make it an alias:
Code:
alias startmyapp='env LD_LIBRARY_PATH=~/lib /path/and/applicationname --any-switches-here'
Dunno if the app needs backgrounding with "&".
 
Old 07-17-2007, 09:56 AM   #5
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks!!!!!

Thanks so much.

Unpacked the lib file I needed, put a pointer in my .bashrc file and now the program runs w/o a complaint. Thanks so much for your help.
 
  


Reply



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
Need XKeySymDB and libXm.so.3 for FC7 UTKEngineer Linux - Software 2 09-07-2007 02:27 PM
9.2: Update after Install wrecks apps Hama Mandriva 5 04-19-2004 10:43 AM
up2date wrecks my realplayer krome Red Hat 1 11-10-2003 02:27 PM
when GTK wrecks your day... opioid Linux - Software 2 07-26-2003 09:55 PM
libXm.so.2 missing Rutnut Linux - Software 3 08-04-2002 02:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 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
Open Source Consulting | Domain Registration