由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - how to setup lib path?
相关主题
按你们的经验,这个错误是由什么引起的?[转载] Include unix libraries in windows fortran
where is libstdc++[转载] 请教关于fortran的
急:ld.so.1的问题Sun Unix下怎么用Fortran读PC下生成的binary file
Help neededwindows编的Fortran程序在UNIX不work?
TCSH里怎么用setenv把一个带有空格的路径加给$PATH? 弱问题:如何调用Library。。。
hOW CAN i COMPILE AND RUN FORTRAN?菜鸟问题:f90是哪个fortran编译器? (转载)
fortran program, help!如何在 leopard 上装 fortran 90/95 compiler?
SUN F90 compileridb problem (转载)
相关话题的讨论汇总
话题: path话题: lib话题: shared话题: library话题: idl
进入Unix版参与讨论
1 (共1页)
s******n
发帖数: 15
1
i compile some fortran codes as shared library, then call
them from IDL. Now i have to specify those shared lib path
in IDL, is there any method to add the shared lib path to
system default search path, e.g., /opt/lib32, and i don't
want to copy the shared files to system default search path.
anyone has some ideas on this, thanks.
d*u
发帖数: 613
2

the variable $LD_LIBRARY_PATH can be set to the your shared library path
like (csh for example) setenv LD_LIBRARY_PATH yourpath:$LD_LIBRARY_PATH

【在 s******n 的大作中提到】
: i compile some fortran codes as shared library, then call
: them from IDL. Now i have to specify those shared lib path
: in IDL, is there any method to add the shared lib path to
: system default search path, e.g., /opt/lib32, and i don't
: want to copy the shared files to system default search path.
: anyone has some ideas on this, thanks.

s******n
发帖数: 15
3
thanks so much, it works fine. and i wonder whether this
will overwrite the system default search path?

【在 d*u 的大作中提到】
:
: the variable $LD_LIBRARY_PATH can be set to the your shared library path
: like (csh for example) setenv LD_LIBRARY_PATH yourpath:$LD_LIBRARY_PATH

s******n
发帖数: 15
4
ok, i got the following information from sgi's website, thanks for your help,
anyway.
l******t
发帖数: 8
5
Another env variable is LIBRARY_PATH. gcc will read it. But I'm not
sure about its priority.

【在 s******n 的大作中提到】
: thanks so much, it works fine. and i wonder whether this
: will overwrite the system default search path?

1 (共1页)
进入Unix版参与讨论
相关主题
idb problem (转载)TCSH里怎么用setenv把一个带有空格的路径加给$PATH?
[转载] makefile question. urgent!!!!!!!!!!!!!!!!!!!!!!!!hOW CAN i COMPILE AND RUN FORTRAN?
about link the fortran in Cfortran program, help!
how come this stupid question?SUN F90 compiler
按你们的经验,这个错误是由什么引起的?[转载] Include unix libraries in windows fortran
where is libstdc++[转载] 请教关于fortran的
急:ld.so.1的问题Sun Unix下怎么用Fortran读PC下生成的binary file
Help neededwindows编的Fortran程序在UNIX不work?
相关话题的讨论汇总
话题: path话题: lib话题: shared话题: library话题: idl