add -fPIC to compile option
cp INSTALL/slamch.o and INSTALL/dlamch.o into SRC directory
In the folder of SRC, type
cc -shared -Wl,-soname,liblapack.so -o liblapack.so *.o
In the folder of BLAS/SRC, type
cc -shared -Wl,-soname,libblas.so -o libblas.so *.o
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts
Monday, January 3, 2011
installation of xmgrace on Slackware 13.1
I am installing grace-5.1.9 with t1lib-5.1.2 installed.
Problems:
t1fonts.c:(.text+0x336b): undefined reference to `T1_Get_no_fonts'
fontwin.c:(.text+0x141): undefined reference to `CheckForFontID'
Solutions:
change T1_Get_no_fonts in src/t1fonts.c to T1_GetNoFonts
change CheckForFontID in src/fontwin.c to T1_CheckForFontID
Problems:
t1fonts.c:(.text+0x336b): undefined reference to `T1_Get_no_fonts'
fontwin.c:(.text+0x141): undefined reference to `CheckForFontID'
Solutions:
change T1_Get_no_fonts in src/t1fonts.c to T1_GetNoFonts
change CheckForFontID in src/fontwin.c to T1_CheckForFontID
Friday, December 17, 2010
shortcuts of openoffice are not working on slackware 13.1
chown root /opt/openoffice.org3/share/xdg/*
Wednesday, December 15, 2010
scim on slackware 13.1
1. add "export LANG=en_US.UTF-8" in ~/.profile
2. chmod +x /etc/profile.d/scim.*
3. create a script file scim.sh containing the followings lines:
#!/bin/bash
scim -f socket -c socket -d
4. chmod +x scim.sh
5. restart kde
2. chmod +x /etc/profile.d/scim.*
3. create a script file scim.sh containing the followings lines:
#!/bin/bash
scim -f socket -c socket -d
4. chmod +x scim.sh
5. restart kde
Friday, November 26, 2010
Fedora 12 & Nvidia Video Card
Each time after updating the kernel, the Nvidia driver should be re-configured.
Press Ctrl-Alt-F2 to enter the command-line mode and login as root.
Reinstall the driver by running
./NVIDIA-Linux-x86_64-190.53-pkg2.run
and after that run
init 5
to enter the normal x11 mode.
Subscribe to:
Posts (Atom)