How does LD_ASSUME_KERNEL work on SuSE Linux?
Hi all, Do Ulrich Drepper's notes on LD_ASSUME_KERNEL http://people.redhat.com/~drepper/assumekernel.html apply to SuSE Linux? If not, how does LD_ASSUME_KERNEL work? I've tried using readelf -n on various libraries and it always comes up empty. The command eu-readelf apparently does not exist. Also, is this thread still relevant: http://sources.redhat.com/ml/libc-hacker/2003-06/msg00032.html Does LD_ASSUME_KERNEL with 32-bit libraries work differently from LD_ASSUME_KERNEL with 64-bit libraries? Best regards
"Paul C. Leopardi"
Hi all, Do Ulrich Drepper's notes on LD_ASSUME_KERNEL http://people.redhat.com/~drepper/assumekernel.html apply to SuSE Linux? If not, how does LD_ASSUME_KERNEL work?
I've tried using readelf -n on various libraries and it always comes up empty. The command eu-readelf apparently does not exist.
Ulrich describes his own readelf version that has some changes. But LD_ASSUME_KERNEL works.
Also, is this thread still relevant: http://sources.redhat.com/ml/libc-hacker/2003-06/msg00032.html
Yes.
Does LD_ASSUME_KERNEL with 32-bit libraries work differently from LD_ASSUME_KERNEL with 64-bit libraries?
No, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Andreas, Thanks for the clarification. I'm still trying to understand what's happening with Maple and Matlab on my SuSE 9.1 system, and especially why my copies of the SuSE 9.0 32-bit libraries result in segfaults. I have noticed that the SuSE 9.0 /lib directory did not contain subdirectories tls and i686, but the SuSE 9.1 /lib directory does have these subdirectories. Also, using "export LD_ASSUME_KERNEL=2.2.5" with SuSE 9.1 results in "error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory". I'll continue to investigate. Best regards
I'm still trying to understand what's happening with Maple and Matlab on my SuSE 9.1 system, and especially why my copies of the SuSE 9.0 32-bit libraries result in segfaults.
Which versions of Matlab and Maple are you using ? -- John P.
John, Matlab is Student Version Release 13, one that needs the documentation CD in the drive. Maple is Maple 9 Student Edition on CD and Maple 9.0.3 Student Edition via download from Maplesoft. Best regards On Thursday 03 June 2004 23:51, Dr J Pelan wrote:
I'm still trying to understand what's happening with Maple and Matlab on my SuSE 9.1 system, and especially why my copies of the SuSE 9.0 32-bit libraries result in segfaults.
Which versions of Matlab and Maple are you using ?
-- John P.
On Fri, 4 Jun 2004, Paul C. Leopardi wrote:
Matlab is Student Version Release 13 Maple is Maple 9 Student Edition on CD
One factor is that they are dependent on fairly old glibc implementations which enables them to run on RH 7.1 systems from yesteryear. This can lead to occasional problems on more recent platforms. That said, Matlab R13sp1 is apparently working here on SuSE 9.1 (AMD64) although I haven't used the JVM environment and nor do I care to. The official line from Mathworks of course is that there is no native support for any version of Matlab on the AMD64 platform. It is always worth letting them know that you think there should be. o http://www.maplesoft.com/support/Faqs/index.shtml o http://www.mathworks.co.uk/support/sysreq/index.html -- John P.
On Thu, 3 Jun 2004, Dr J Pelan wrote:
Matlab is Student Version Release 13 Maple is Maple 9 Student Edition on CD
One factor is that they are dependent on fairly old glibc implementations which enables them to run on RH 7.1 systems from yesteryear. This can lead to occasional problems on more recent platforms.
It can't be glibc. Once this thread started I did some testing, and both installation and use of Matlab R13 SP1 and Maple 9 worked without problems there. No, they're not the student version. Thus the problems are AMD64- specific - I'll be starting tests early next week for that.
That said, Matlab R13sp1 is apparently working here on SuSE 9.1 (AMD64) although I haven't used the JVM environment and nor do I care to. The official line from Mathworks of course is that there is no native support for any version of Matlab on the AMD64 platform. It is always worth letting them know that you think there should be.
The JVM environment should work too, though it gets confused by the keymapping. The following two lines in .Xmodmap solved the problem for matlab: keycode 64 = Meta_L keycode 0x6D = Multi_key I have a similar problem with xmaple, haven't had time to find the magical xmodmap-formula yet. But the keyboard lockups in maple and matlab looks to me to be neither AMD64-specific or glibc-caused, they should be solvable with xmodmap. Bjørn -- Bjørn Tore Sund Phone: (+47) 555-84894 Stupidity is like a System administrator Fax: (+47) 555-89672 fractal; universal and Math. Department Mobile: (+47) 918 68075 infinitely repetitive. University of Bergen VIP: 81724 Support: system@mi.uib.no Contact: teknisk@mi.uib.no Direct: bjornts@mi.uib.no
Hi all, I now have Matlab Student Edition working. It turned out that Matlab doesn't like submount. Details below. Best regards On Friday 04 June 2004 17:29, Bjorn Tore Sund wrote:
On Thu, 3 Jun 2004, Dr J Pelan wrote:
Matlab is Student Version Release 13 Maple is Maple 9 Student Edition on CD
One factor is that they are dependent on fairly old glibc implementations which enables them to run on RH 7.1 systems from yesteryear. This can lead to occasional problems on more recent platforms.
It can't be glibc. Once this thread started I did some testing, and both installation and use of Matlab R13 SP1 and Maple 9 worked without problems there. No, they're not the student version. Thus the problems are AMD64- specific - I'll be starting tests early next week for that.
That said, Matlab R13sp1 is apparently working here on SuSE 9.1 (AMD64) although I haven't used the JVM environment and nor do I care to. The official line from Mathworks of course is that there is no native support for any version of Matlab on the AMD64 platform. It is always worth letting them know that you think there should be.
The JVM environment should work too, though it gets confused by the keymapping. The following two lines in .Xmodmap solved the problem for matlab: keycode 64 = Meta_L keycode 0x6D = Multi_key
To get Matlab to understand that the Documentation CD is in the drive, I changed the /etc/fstab line for cdrecorder back to what it had been for SuSE 9.0, ie, from: /dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,unhide,iocharset=utf8 0 0 back to: /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0 This worked. It turns out that I don't need LD_ASSUME_KERNEL for Matlab. For my next trick, I'll figure out what's happening with Maple. I hope.
"Paul C. Leopardi"
Andreas, Thanks for the clarification.
I'm still trying to understand what's happening with Maple and Matlab on my SuSE 9.1 system, and especially why my copies of the SuSE 9.0 32-bit libraries result in segfaults.
I have noticed that the SuSE 9.0 /lib directory did not contain subdirectories tls and i686, but the SuSE 9.1 /lib directory does have these subdirectories. Also, using "export LD_ASSUME_KERNEL=2.2.5" with SuSE 9.1 results in "error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory".
2.2.5 is not supported with 64-bit libs and therefore leads to this problem. Btw. the LD_ASSUME_KERNEL is even documented in the SUSE manuals, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Andreas, I'm starting to understand what's happening with Maple 9. The Maple 9 "maple" shell script includes the following: if [ -r "/etc/redhat-release" ] then MR_CHECK=`perl -ane '$_ =~ /Mandrake Linux release (\d+)\.(\d+)/; print $1 if $1 >= 9;' /etc/redhat-release` RH_CHECK=`perl -ane '$_ =~ /Red Hat .* release (\d+)(\.\d+)?/; print $1 if ($1
= 7);' /etc/redhat-release`
if [ $MR_CHECK ]; then export LD_ASSUME_KERNEL=2.2.5 fi if [ $RH_CHECK ]; then export LD_ASSUME_KERNEL=2.2.5 fi fi I'm guessing that whatever it was that made it necessary for Maple 9 to set "export LD_ASSUME_KERNEL=2.2.5" for Mandrake and Red Hat, now also applies to SuSE 9.1. But "export LD_ASSUME_KERNEL=2.2.5" itself does not work on SuSE 9.1. Best regards On Thursday 03 June 2004 23:56, Andreas Jaeger wrote:
"Paul C. Leopardi"
writes: Andreas, Thanks for the clarification.
I'm still trying to understand what's happening with Maple and Matlab on my SuSE 9.1 system, and especially why my copies of the SuSE 9.0 32-bit libraries result in segfaults.
I have noticed that the SuSE 9.0 /lib directory did not contain subdirectories tls and i686, but the SuSE 9.1 /lib directory does have these subdirectories. Also, using "export LD_ASSUME_KERNEL=2.2.5" with SuSE 9.1 results in "error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory".
2.2.5 is not supported with 64-bit libs and therefore leads to this problem.
Btw. the LD_ASSUME_KERNEL is even documented in the SUSE manuals,
Andreas
participants (4)
-
Andreas Jaeger
-
Bjorn Tore Sund
-
Dr J Pelan
-
Paul C. Leopardi