LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2005, 01:16 AM   #1
mihaimdl
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
program compiled under kernel <=2.4 don't work under kernel 2.6


I use a molecular visualization program (molekel-4.3) downloaded in binary form (only). It is compiled under SUSE 7.0 (g++ 2.9). Works fine under Gentoo 2.4.x kernel series (also on Mandrake, Fedora and others, but only under 2.4.x kernel). Switching to 2.6.x series (Gentoo dev and ck-sources, Mandrake, pclinux) makes unusable the program (an error : Segmentation fault at line ...). Is there any possibility to run such a program under 2.6.x kernel?
Thanks!
 
Old 02-08-2005, 04:39 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you sure it's the kernel and not the libstdc++.so.*?
 
Old 02-10-2005, 06:17 AM   #3
mihaimdl
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Not quite sure, but in installation instructions there is a symbolic link which has to be done:
ln -s libstdc++-3-libc6-2.2.2-10.0.so libstdc++-libc6-1.2.so.3 ! For this I had to install libcompat. Is it possible to try another symbolic link, to another library?
 
Old 11-08-2005, 06:09 PM   #4
h314to
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Talking Molekel works once again!

I saw your post, in my (long) quest for the solution to my molekel issues, and now that got it right I returned to try to help you out. I used to get this error:

/home/agapito/opt/molekel/bin/molekel4.3.linux: relocation error: /home/agapito/opt/molekel/bin/molekel4.3.linux: undefined symbol: __builtin_new

This was due to libstdc++ issues, as I found out latter. All I did was install all the libstdc++ available for my distro (Ubuntu Hoary) and then tried to make the link that molekel needs to each one of them, one at a time. I found out that the package I had to install was called libstdc++2.10-glibc2.2. That installed libstdc++-3-libc6.2-2-2.10.0.so wich enabled me to run molekel.

Hope that works for you.

By the way, I think you'll be happy to know that the molekel project is back, and that it's going to be Open Source.

The alpha version is still very primitive and lacks a lot of features, but it looks nice.
Check it out here:

http://www.cscs.ch/a-display.php?id=138

Last edited by h314to; 11-08-2005 at 06:14 PM.
 
  


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
keyboard won't work with newly compiled kernel dr_zayus69 Linux - Hardware 10 06-05-2005 11:23 AM
Compiled 2.6.9 kernel - Intel PRO/100 VE Network Card won't work Jonescity Linux - Networking 5 10-24-2004 09:39 PM
Compiled 2.6.9 kernel - Intel PRO/100 VE Network Card won't work Jonescity Slackware 4 10-24-2004 02:59 AM
Kernel compiled, but doesnt work fckalya Slackware 14 07-02-2004 01:34 PM
new compiled kernel 2.6.6 didnt work karfei00 Linux - General 4 06-09-2004 12:50 AM

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

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