由买买提看人间百态

topics

全部话题 - 话题: lib64
1 (共1页)
b*****e
发帖数: 762
1
来自主题: Linux版 - 设置环境变量求助。
老板给了我一个128核的服务器的supervisor的权限,叫我跑模拟。 但是我不能正确装
软件。老板的账户ssh进去可以正常工
作,他也给了我几个环境变量:
PATH=/usr/local/bin:/usr/lib64/qt-
3.3/bin:/usr/kerberos/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/lib64/openmpi/1.
4-
gcc/bin:/usr/lib64/openmpi/1.4-gcc/lib
LD_LIBRARY_PATH=/usr/lib64/openmpi/1.4-gcc/lib
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
QTLIB=/usr/lib64/qt-3.3/lib
MPICC=/usr/lib64/openmpi/1.4-gcc/bin/mpicc
MPIEXEC=/usr/lib64/openmpi/1.4-gcc/bin/mpiexec
LIBS=/usr/lib64/openmpi/1.4-gcc/lib/libmpi_cx... 阅读全帖
r*g
发帖数: 186
2
来自主题: Linux版 - 小白问个csh的问题
我以前一直用bash
最近因为公司默认shell是csh, 不得不开始学习csh
大概问题是这样的:
由于我没有root权限, 所以我都是在$HOME下面建立一个.pseudo_root
然后在这个$HOME/.pseudo_root下面有usr/bin usr/lib之类的
然后自己安装软件都是--prefix=$HOME/.pseudo_root/usr
以前从来都没啥问题
由于这样的设置, 一般要把LD_LIBRARY_PATH加一个$HOME/.pseudo_root/usr/lib
我在.cshrc中设置:
1. set LD_LIBRARY_PATH in .cshrc as:
setenv LD_LIBRARY_PATH ${HOME}/.pseuso_root/usr/lib:${LD_LIBRARY_PATH}
然后打印$LD_LIBRARY_PATH也的确表现正常:
echo $LD_LIBRARY_PATH
/home/anhong/.pseuso_root/usr/lib:/grid/sfi/lsf/cvalsf01/9.1.1/linux2.6-
glibc2... 阅读全帖
e*t
发帖数: 9
3
来自主题: Programming版 - PERL help!
I am a beginner of perl. I am using perl under linux, but when I use
"use IO:Tee"
I got the following error message
"Can't locate IO/Tee.pm in @INC (@INC contains: /usr/lib64/perl5/5.8.5/x86_
64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/p
erl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.
8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_p
erl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-
linux-thread-multi /usr/lib64/perl5/site_per
E*****d
发帖数: 238
4
来自主题: Programming版 - 请教一个python urlopen的问题
我编了一个程序需要大量访问webpage读数据,
有的时候网络速度慢,就出现下来错误了:
现在我想问的是有没有办法当出现这样网络不太好的时候直接跳过,
运行下一个循环?
urlopen运行的status怎么得到?通过判定这个urlopen的staus能不能达到我的要求?
data1 =urllib.urlopen(stockurl)
File "/usr/lib64/python2.3/urllib.py", line 76, in urlopen
return opener.open(url)
File "/usr/lib64/python2.3/urllib.py", line 181, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.3/urllib.py", line 297, in open_http
h.endheaders()
File "/usr/lib64/python2.3/httplib.py", line 712, in endhea
C********e
发帖数: 219
5
来自主题: Programming版 - 求助调试c++程序
接手了一个c++的程序,以前的程序员不愿意指导,自己也比较愚钝。请大侠们指点
不明白为什么usleep(1000)发生overflow?是因为其他线程有overflow的情况吗?如何
查看其他线程里面的变量值呢?
Program terminated with signal 6, Aborted.
#0 0x0000003cfd89a1e1 in nanosleep () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003cfd89a1e1 in nanosleep () from /lib64/libc.so.6
#1 0x0000003cfd8ce8f4 in usleep () from /lib64/libc.so.6
#2 0x0000000000498e17 in MyClass::StartUp (this=0x2b4484725010, aName=
Traceback (most recent call last):
File "/usr/share/gdb/python/libstdcxx/v6/printers.py", lin... 阅读全帖
y**b
发帖数: 10166
a*******e
发帖数: 3021
7
shen阿
现在用nv驱动显示一切正常了!桌面和gdm的登录界面都好了!
多谢多些
能不能再接再厉帮我搞定xorg-x11-drv-nvidia的设置?
我把这个装上后重启电脑生成如下xorg.conf
我用nvidia x server settings设置,发现xserver configuration里面的display只有
1024x768己以下的分辨率。杂改?
# Xorg configuration created by livna-config-display
Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
Section "Device"
Identifier "Videocard0"
r*****z
发帖数: 906
8
/lib64和/usr/lib64两个链接没有创建,所以谁升级谁完蛋
修理方法:rescue启动挂载文件系统,手工创建上面的两个符号链接,
分别指向/lib和/usr/lib,然后用single模式启动,降级libc6
F*******i
发帖数: 190
9
how to 降级libc6
thanks!

/lib64和/usr/lib64两个链接没有创建,所以谁升级谁完蛋
修理方法:rescue启动挂载文件系统,手工创建上面的两个符号链接,
分别指向/lib和/usr/lib,然后用single模式启动,降级libc6
e**********a
发帖数: 279
10
来自主题: Linux版 - 求:gcc 4.6.1不兼容 ubuntu 11.10
fresh newbie of linux, 好不容易装好了ubuntu 11.10, 我的目标是用g77 编译一个
很老的一个东东。
网上依葫芦画瓢的装了个老版本的g77 和新版本的gcc, 发现还是不行, gfortran 可
行, gcc不行, 不管 g77 还是 c compiler, 据说是骨子里的问题。
linux-vdso.so.1 => (0x00007fff644af000)
libc.so.6 => /lib64/libc.so.6 (0x00000037eb800000)
/lib64/ld-linux-x86-64.so.2 (0x00000037eb400000)
英文的论坛里说的都不管用, 类似 ln -s,
现在有两个没试, 一个是装 libc6-dev
一个是卸了重装低版本的。
可惜这只是想法, 因为半调子,我都不知道具体的commands 去下载和重装 ( 之前都
是照着网上的step-by-step弄的, 比如, 改sources.list, 我找不到类似的联接,
或者联结上的links 太复杂,不知... 阅读全帖
d*******0
发帖数: 113
11
日志如下:请达人不吝赐教!
谢谢!
* Installing *source* package 'glmnet' ...
This package requires a fortran 90 compiler. We assume
that your fortran 90 environment is set up appropriately.
Reference: Section on 'Using F95 code' in R-exts manual.
R configured for gfortran...
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gfortran -fdefault-real-8 -ffixed-form -fpic -g -O2 -c newermultGLMnet.f90 -
o newermultGLMnet.o
gfortran -shared -L/usr/local/lib64 -o glmnet.so newermultGLMn... 阅读全帖
s******s
发帖数: 505
12
来自主题: Linux版 - 找不到共享文件库的问题
I installed a file manager. When I tried to start the application,
it complained:
>error while loading shared libraries: libidn.so.11:
>cannot open shared object file: No such file or directory
If I do ldd, it says not found:
>libidn.so.11 => not found
However,
>locate libidn.so.11
>/usr/lib64/libidn.so.11
>/usr/lib64/libidn.so.11.6.9
怎么办?谢谢!
c**t
发帖数: 2744
13
没有RH Subscription,不能加repo,只好从源码编译PHP。
./configure --prefix=/usr/local --with-pdo-mysql --with-libdir=lib64 --
libdir=/usr/lib64 --enable-bcmath --enable-calendar --enable-exif --enable-
ftp --enable-mbstring --enable-soap --enable-zip --with-curl --with-freetype
-dir --with-gettext --with-iconv --with-jpeg-dir --with-kerberos --with-
mhash --with-mysql --with-mysqli --with-openssl --with-png-dir --with-regex
--with-xmlrpc --with-xsl --with-zlib-dir --with-config-file-path=/usr/local/
lib --with... 阅读全帖
y**b
发帖数: 10166
g*********s
发帖数: 1782
15
linker只在LD_LIB_PATH和-L里找么?
-lc和-lpthread是怎么找的?我在这些目录里都找不到.但ldd给出是在/lib64/tls/下.
还有/usr/lib64等这些是标准的默认路径么?
b****n
发帖数: 865
16
来自主题: Programming版 - 请教: eclipse setup problem
我下eclipse的最新build (v3.6), 解包后执行:
bin/eclipse36% ./eclipse
得到出错信息:
Warning: -XX:MaxPermSize=256m not understood. Ignoring.
Warning: -Xms40m not understood. Ignoring.
Warning: -Xmx384m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError:
bin.eclipse36.plugins.org.eclipse.equinox.launcher_1.1.0.v20100507.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/li
s******u
发帖数: 501
17
来自主题: Programming版 - cmake 求教
include_directories(
/usr/include/glib-2.0
/usr/lib64/glib-2.0/include
)
link_directories(
)
add_executable(xx aa.cc bb.cc)
target_link_libraries(xx glib-2.0)

lib64
j***x
发帖数: 1469
18
我使用的是 topHat 和cufflinks 处理。 参考文献是 :
nature protocols VOL.7 NO.3 | 2012
:Differential gene and transcript expression analysis of RNA-seq
experiments with TopHat and Cufflinks。
最后CummeRbund需要 R 环境,我安装了, 结果调用gfortran的时候找不到一个文件夹
, 我安装了gfortran,最新版。
错误信息如下:
[jokex@localhost download]$ R
/usr/lib64/R/bin/exec/R: error while loading shared libraries: libgfortran.
so.1: cannot open shared object file: No such file or directory
[jokex@localhost download]$ su --
Password:
[root@localhost download]# R
/usr... 阅读全帖
t****g
发帖数: 715
19
来自主题: Statistics版 - 新手求教:linux下怎么跑R文件?
ps:
PID TTY TIME CMD
28865 pts/22 00:00:00 tcsh
28900 pts/22 00:00:00 ps
ps aux|grep zzzzz (suppose it's my id)
zzzzz 28515 0.0 0.0 63860 1168 ? S 21:43 0:00 sh /gpfs/
runtime/lib64/R/bin/Rcmd BATCH finite_test.R
zzzzz 28520 99.9 0.3 279752 183668 ? R 21:43 18:50 /gpfs/
runtime/lib64/R/bin/exec/R -f finite_test.R --restore --save --no-readline
zzzzz 28594 0.0 0.0 78860 1104 ? Ss 21:49 0:00 SCREEN
zzzzz 28595 0.0 0.0 64708 1
w**********l
发帖数: 8501
20
来自主题: CS版 - 问一个很简单的编程问题
error is:
Error in file ../main/fileio.cpp:5607
Parameter has no value:
ELF
Program received signal SIGABRT, Aborted.
0x0000003a1c430265 in raise () from /lib64/libc.so.6
w*r
发帖数: 2421
21
来自主题: Linux版 - shell script question
unfortunately the third party software did not reveal the detail of where
it failed, it simply said test.sh returns with error (8)
I tried to figure what is the difference of $@ and $*. The reason I have
to use this approach is that a 32 bit native compiled executable needs
/usr/lib in the library path, but the third party tool need /usr/lib64 in
the library path. To make the peace between these two (the third party
tool will call 32 bit executable during its process), I wrap the 32 bit
executab
g******e
发帖数: 3760
22
来自主题: Linux版 - x86 64bits flash
Adobe already has 64bit flash plugin for download. Just download from Adobe'
s website
and copy it to: /usr/lib64/mozilla/plugins
g******e
发帖数: 3760
23
来自主题: Linux版 - 有人用chromium能看成flash嘛?
I use Fedora 11 64 bit and Chromium 4.0. Just created a soft link of your
flash plugin in
/usr/lib64/chromium-browser/plugins and it works perfectly. Java plugin
works too.
a*******e
发帖数: 3021
24
来自主题: Linux版 - 有人用chromium能看成flash嘛?
i am using the same os and chrome.
but i simply unpack chromium into my local folder. there is no /usr/lib64/
chromium-browser/*.
what do u mean of soft link? link to what? and from where?
g******e
发帖数: 3760
25
来自主题: Linux版 - 有人用chromium能看成flash嘛?
I installed my 64bit flash plugin into firefox's plugin directory (/usr/
lib64/mozilla/plugins/). So
I just created a soft link for chrome.
a*******e
发帖数: 3021
26
I tried to add this secion in xorg.conf for nv driver,
still not working.
glxinfo | grep rendering
direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)
more /var/log/Xorg.0.log | grep dri
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse
'
will be disabled.
X.Org XInput driver : 4.0
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) LoadModule: "dri2"
(
l********0
发帖数: 283
27
非常感谢。
我在centos上测试了这个
http://www.xnview.com/en/download_nc.html
但是:
[root@spring211 NConvert]# ./nconvert -out jpeg temp/2299-D_9.jp2
./nconvert: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by ./
nconvert)
请问如何在centos上安装GLIBC_2.7?
Thanks again.
l********0
发帖数: 283
28
来自主题: Linux版 - 问个rpy2的问题
http://rpy.sourceforge.net/rpy2.html
安装rpy2时遇到问题,我采用这种方式安装:Install from source
错误如下:
[root@winter211 rpy2-2.1.0rc]# python setup.py build install
/usr/lib64/python2.4/distutils/dist.py:236: UserWarning: Unknown distributio
n option: 'install_requires'
warnings.warn(msg)
running build
running build_py
running build_ext
building 'rpy2.rinterface.rinterface' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY
_SOURCE=2 -fexceptions -fstack-protector --param=ssp-
S*A
发帖数: 7142
29
来自主题: Linux版 - linux下的五子棋游戏?
我发现要这样启动 configure 才能过。不然老是说 link error.
./configure --with-boost-libdir=/usr/lib64/
S*A
发帖数: 7142
30
来自主题: Linux版 - linux下的五子棋游戏?
玩了一下,还不错,玩到失了先手就没有玩下去了。
setup 攻略。
1) download fugeo
2) tar zxvf fugeo.tar.gz
3) yum install -y boost-devel
4) ./configure --with-boost-libdir=/usr/lib64/
5) make
6) make install
7) download gogui
8) unzip gogui.zip
9) cd bin
10) ./gogui
menu->program->new program
fuego
然后就行啦,跟计算机拼啦。
p******e
发帖数: 107
31
来自主题: Linux版 - libgcc 安装问题
LINUX下安装一个一个商业应用程序,libstdc++版本不匹配
Error message:
/usr/local/HOT/gui/lib/c++/libgcc_s.so.1: version `GCC_4.2.0' not found (req
uired by /usr/lib64/libstdc++.so.6)
这个软件应该是自带了所有的库的,我原来的单位可以运行。
帮忙看看如何解决这个问题。谢谢
n******7
发帖数: 12463
32
来自主题: Linux版 - 完了,server要被我搞崩了
centos5
手动升级libz.so.1.2.3 to libz.so.1.2.5
rm了/usr/lib64/ 的两个 soft links: libz.so, libz.so.1
结果我是sudo这样做的,想创建新的link的时候不能再sudo了。。
连建立新的ssh connection都不能了,需要libz.so.1 。。。
我不是root,要变成root也得先sudo su -
这下傻眼了。。
m**k
发帖数: 290
33
来自主题: Linux版 - 找不到共享文件库的问题
make sure a few things:
1. /usr/lib64/libidn.so.11 is not a invalid symbol link
2. Your executable is a 64 bit binary. It won't work if its 32bit.
Use command: file
r*****l
发帖数: 2859
34
来自主题: Programming版 - 问一个link的问题
解决了。谢谢。
原来需要的是/usr/lib64下面的libstdc++.so.5。只装了/usr/lib。
t****t
发帖数: 6806
35
来自主题: Programming版 - Python problem on 64 bit Linux
what's the difference...? you can do this on any 64-bit linux by specify the
same configure cmdline, while setting environment "CC=gcc -m32".
BTW, I remember the /usr/local/lib always has 32-bit libraries by default.
64-bit libraries stayes in /usr/local/lib64. You can check with "file".
y****e
发帖数: 23939
36
I have a program which calls memset and memmove. My system is Fedora 14 x86_
64 and g++ 4.5.1. I realize now when the float data set over 8GB limit,
these two functions create segfault. The
backtrace of call stack shows it crash at:
# in __memmove_ssse3 () from /lib64/libc.so.6
The program runs OK when data set size is under 8GB.
Anybody knows why? I googled online but can't find any place talking about
the size limit of memset and memmove.
m*******t
发帖数: 1060
37
来自主题: Programming版 - 今天第一次在windows上倒腾vert.x
感觉对应于*nix下的/bin,/usr/bin或/usr/lib64。If jdk/jre installer把java的
executable装到/bin或/usr/bin下或create symbolic link under these
directories,你可能碰到同样问题。
m*******t
发帖数: 1060
38
来自主题: Programming版 - 今天第一次在windows上倒腾vert.x
要不然是坏境问题,要不然是。。。。深表同情。 对了,刚刚试了一下vert,x, 先在
linux上,然后在windows上,都没有你说的问题。 呵呵。
Update: There IS a problem when running vert.x java code. Sounds like
whenever launching /windows/system32/java.exe, this app tries to read the
jre settings
configured through "Java Configuration Applet"(under control pannel). From
there, it knows which java is active. However, I failed to use this applet
to configure java to use JDK instead of jre.
On linux, /usr/bin/java is a symbolic link to the actual jre/jdk, so it ... 阅读全帖
o******1
发帖数: 1046
39
多谢!
这么做似乎可以,就是在C程序中的参数个数(argc)数不对了。下面是perl程序中加
入的%ENV hash:
"
%ENV = (
'QTINC' => '/usr/lib64/qt-3.3/include',
'SSH_ASKPASS' => '/usr/libexec/openssh/gnome-ssh-askpass',
'ORACLE_HOME' => '/home/oracle/app/oracle/product/11.2.0/dbhome_1',
'CVS_RSH' => 'ssh',
'J2EE_HOME' => '/usr/local/jdk1.7.0_03',
...
);
"
当然了,%ENV中包含手动定义的几个环境变量,而且key和value都是正确的。
调用C程序的语句是:$ret = `C_prog $para`; C-prog包括绝对路径和文件名。如果
把上面定义%ENV的整个语句comment掉,还使用原先手动定... 阅读全帖
o*****l
发帖数: 539
40
来自主题: Programming版 - cmake 求教
solved, add this line:
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/include/glib-2.0 -I/usr/lib64
/glib-2.0/include -lglib-2.0")
u********a
发帖数: 3
41
来自主题: Security版 - 安装ssh问题
各位大虾好,不好意思,又来打扰。
还是安装ssh的问题。 我敲入下列命令:
./configure CC=/usr/freeware/bin/gcc LDFLAGS=-L/usr/lib64
in the end, the computer give me the following error.
can not open working OpenSSL. please install or check config.log
I have no idea what is wrong. please give me a clue.
//bow.
c*****t
发帖数: 1879
42
来自主题: Unix版 - what is the problem? what can I do?
Should be in
/usr/lib32/
or
/usr/lib64/
j**t
发帖数: 439
43
来自主题: Unix版 - .so文件
.so文件是怎么用的? 下面是我的make过程显示:
CC -O3 -64 -mips4 -I../include Driver.o Setup.o -lm -lcomplib.sgimath
-lcomplex -lmf1 -L../ -lmetis -L../lib/ -o mf1.out
ld64: WARNING 84 : /usr/lib64/mips4/libm.so is not used for resolving
any symbol.
这个警告错误是怎么回事? 怎么解决?
另外一个问题:
程序用32位编译还好好的,换成64位编译后,一个不为零的double却变成零了.怎
么回事?
谢谢!
t****g
发帖数: 715
44
来自主题: Statistics版 - 新手求教:linux下怎么跑R文件?
Now it seems to work, however:
i see output and err files are generated in my folder, but they are empty. I
added a line in my script to save the output matrix, but it could not be
found in my folder, which is strange.
I get "/gpfs/runtime/lib64/R/bin/BATCH: line 60: R: Is a directory". after
pressed the enter button, i go back to normal command line. Is this normal?
What do the output and err files save? Where can I find my matrix? Thanks.
q********g
发帖数: 10694
45
来自主题: _Molecular_Simulation版 - DL-POLY4.01 CUDA并行安装经验
Core-Shell模型使用dl-poly是最方便了。因此只好用了。
1.确定你的机器安装mpich2,我装的版本是1.2.1p1。compile的时候确定使用--enable
-f90 --enable-cxx FC=(你的fortran编译器)
2.安装fftw,我使用的2.1.5,不确定fftw3是否支持。编译时保证有--enable-mpi --
enable-fortran --enable-threads F77=(你的fortran编译器)。默认安装了双精度之
后。再安装单精度--enable-float --enable-type-prefix。
3. 安装:显卡驱动程序,cudatoolkit与SDK。我使用版本是3.1。root权限下sh ./
cudatoolkit.***.run安装即可。
把以上bin与lib或lib64设置PATH与LD_LIBRARY_PATH环境变量。(版本不一定是越新越
好,主要是看你用的软件写的时候用了什么版本。这里用了老版本主要是和我正在使用
的LAMMPS保持一致。)
把source/CUDA目录下的Makefile_CUDA复制... 阅读全帖
1 (共1页)