Path: news.daimi.aau.dk!not-for-mail From: Manmathan Muthukumarapillai Newsgroups: comp.lang.beta,daimi.beta,daimi.dsa Subject: Using the Mjolner System with RedHat 5 and other glibc 2 based Linux-systems Date: Wed, 20 May 1998 13:10:27 +0200 Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 90 Message-ID: <3562BA23.F03F2D7B@mjolner.dk> NNTP-Posting-Host: fenris.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (X11; I; SunOS 5.6 sun4u) Xref: news.daimi.aau.dk comp.lang.beta:11582 daimi.beta:10347 daimi.dsa:10565 Using the Mjolner System with RedHat 5 and other glibc 2 based Linux-systems ============================================================================ ***(We have only tested this with RedHat Linux, Version 5) This message is for people using the Mjolner System, release 4.1, with RedHat 5 and other glibc 2 based systems. What are the symptoms of the problem: ------------------------------------- 1) The compiler has problems linking. 2) The tools (Sif, Frigg, ..) will not start: they will coredump immediately. To correct the problems, do the following 4 steps: -------------------------------------------------- 1) Set the Enviroment variable libXm_PATH. libXm_PATH should point to where the libXm libraries are loacated. If you use the lesstif package included on the Mjolner System CD-ROM then it should be: /lib e.g. /usr/local/lesstif/lib If you use motif or other lesstif installation then point it to where the libXm libraries are installed. 2) Create two emty objectfiles crtbegin.o and crtend.o and place them inside /usr/lib/ You can do it in the following way ----------------------------------- echo "manmathan1 () {}\n" > crtbegin.c echo "manmathan2 () {}\n" > crtend.c gcc -c crtbegin.c crtend.c mv crtbegin.o crtend.o /usr/lib/ 3) Set the eviroment variable BETALINKOPTIONS to: -L/usr/X11/lib -L$libXm_PATH -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -dc -dp -Bstatic -X From bash: ---------- export BETALINKOPTIONS="-L/usr/X11/lib -L$libXm_PATH -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -dc -dp -Bstatic -X" From tcsh: ---------- setenv BETALINKOPTIONS="-L/usr/X11/lib -L$libXm_PATH -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -dc -dp -Bstatic -X" 4) Edit the two environment configuration scripts located in the ~beta/configuration folder: Comment out the LD_LIBRARY_PATH settings by typing a #-sign infront. in env.sh, line 171 in env.csh, line 190 Please email any problems to: support@mjolner.dk Sincerely, Manmathan Muthukumarapillai / Mjolner Informatics ++++++++++++++++++++++ Mjolner Informatics ++++++++++++++++++++++++++ + Science Park Aarhus | Phone: +45 8620 2000 + + Gustav Wieds Vej 10 | Direct: +45 8620 2011 local 2760 + + DK-8000, Aarhus C, Denmark | Fax: +45 8620 1222 + + WWW: http://www.mjolner.com/ | E-mail: info@mjolner.com + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++