LiangShuang's ...

I'm not a programmer...


shuang posted @ 2011年2月19日 09:23 in fedora with tags LDD LD_LIBRARY_PATH .SO KILE , 3392 阅读

前段时间想学习以下Latex编辑器,于是装了个集成开发环境Kile,但是一直运行不起来,在终端下运行时显示的错误是‘symbol lookup error: /usr/lib/ undefined symbol ......',到网上查了很长时间都没有找到解决办法。今天有时间又弄了以下,觉得是动态库的问题,ldd /usr/bin/kile,果然,看到结果后就可以确定问题是出在LD_LIBRARY_PATH这个环境变量上了, =>  (0x00671000) => /usr/lib/ (0x06640000) => /usr/lib/ (0x00294000) => /usr/lib/ (0x06d18000) => /usr/lib/ (0x042ed000) => /usr/lib/ (0x04bc7000) => /usr/lib/ (0x04d65000) => /usr/lib/ (0x06392000) => /usr/lib/ (0x060f8000) => /opt/programs/altera/10.0/quartus/linux/ (0x001f2000) => /usr/lib/ (0x007cf000) => /usr/lib/ (0x04135000) => /opt/programs/altera/10.0/quartus/linux/ (0x002b2000) => /usr/lib/ (0x05ceb000) => /usr/lib/ (0x006f6000) => /usr/lib/ (0x04f80000) => /opt/programs/altera/10.0/quartus/linux/ (0x003d8000) => /lib/ (0x00c88000) => /usr/lib/ (0x00110000) => /opt/programs/altera/10.0/quartus/linux/ (0x00ca3000) => /usr/lib/ (0x008ae000) => /lib/ (0x00c5c000) => /opt/programs/altera/10.0/quartus/linux/ (0x00189000) => /lib/ (0x00ad0000) => /usr/lib/ (0x04ea0000) => /usr/lib/ (0x04c8b000) => /usr/lib/ (0x0074d000) => /usr/lib/ (0x00194000) => /lib/ (0x001bc000) => /usr/lib/ (0x00a9c000) => /usr/lib/ (0x047be000) => /usr/lib/ (0x0536e000) => /usr/lib/ (0x001d1000) => /usr/lib/ (0x00a64000) => /usr/lib/ (0x001e2000) => /usr/lib/ (0x0088b000) => /usr/lib/ (0x0421e000) => /usr/lib/ (0x001e5000) => /lib/ (0x04c44000) => /usr/lib/ (0x001ee000) => /usr/lib/ (0x0099f000) => /usr/lib/ (0x042b2000) => /lib/ (0x04b4b000) => /lib/ (0x04aff000) => /usr/lib/ (0x006a2000) => /usr/lib/ (0x00265000) => /usr/lib/ (0x00a59000) => /usr/lib/ (0x00238000) => /usr/lib/ (0x00242000) => /lib/ (0x04a90000) => /usr/lib/ (0x04b23000) => /lib/ (0x00247000) => /usr/lib/ (0x00668000) => /lib/ (0x00672000) => /lib/ (0x00677000)
    /lib/ (0x00aaf000) => /lib/ (0x00782000) => /usr/lib/ (0x01716000) => /usr/lib/ (0x00a1c000) => /lib/ (0x017a8000) => /usr/lib/ (0x0448f000) => /usr/lib/ (0x00a8e000) => /lib/ (0x00680000) => /usr/lib/ (0x00756000) => /usr/lib/ (0x04340000) => /usr/lib/ (0x00685000) => /lib/ (0x018b6000) => /usr/lib/ (0x045b1000) => /lib/ (0x00a83000) => /usr/lib/ (0x04b55000) => /usr/lib/ (0x00a7b000) => /lib/ (0x04b06000) => /usr/lib/ (0x04d26000) => /usr/lib/ (0x0487b000) => /usr/lib/ (0x04aab000) => /usr/lib/ (0x04aa3000)

红色部分就是问题之所在,由于之前在安装quartus的时候设置了一个so的路径,还以为LD_LIBRARY_PATH和PATH一样的都是按顺序查找各个部分呢,但是LD_LIBRARY_PATH是加在系统默认的加载路径之前的,'This list is prepended to the existing list of compiled-in loader paths for a given executable, and any system default loader paths',那么这个问题就和上次的那个nautilus程序的问题一样,都是连接到了错误的so文件,导致符号找不到或版本问题。

'LD_LIBRARY_PATH is handy for development and testing, but shouldn't be modified by an installation process for normal use by normal users; see ``Why LD_LIBRARY_PATH is Bad'' at for an explanation of why',原文是这么说的,这个环境变量主要用于开发和测试阶段,不适合在应用程序的安装过程中修改。。

webnovel 说:
2019年2月21日 16:34

Your site has a lot of useful information for myself. I visit regularly. Hope to have more quality items.

Freddie E. Rosado 说:
2019年8月29日 20:21

Such occasion which gives the data about the life is great and individuals ought to go such occasion which gives the valuable data and australianwriting provides quality info. I realize that individuals need to stimulation and furthermore need to great data and it is an ideal occasion. Much obliged to you for sharing such awesome data.

cleaning services 说:
2019年9月13日 21:16

If you are interested in a extensive cleaning business in UAE, possibly, your lookup would end once you access our own website. We will give you list regarding professional cleaning companies for almost any cleaning you wish regardless of one's property.

starliteshoppingmall 说:
2019年11月13日 05:50

Celebration agents be working as middlemen, making use of both animators and types to arrange concerts, gallery showings and even acting employment. These substances are experts of settlements and get the job done hard to verify deals around companies and even artists make number one bill.

Buy Custom Essay Onl 说:
2019年12月11日 22:14

Despite the low fees charged when you request for Online Essay Writing Services and Online Custom Essay Writing Services, the company still maintain high quality Best Custom Essay Services.

Best Homework Writin 说:
2019年12月11日 22:15

Handling Homework Writing Help Services is not easy since one has to seek the services of a Homework Writing Service Expert who delivers the ideal for Legitimate Custom Homework Writing Services.

Nursing Research Pap 说:
2019年12月11日 22:20

Clients who seek Nursing Research Paper Writing Services Online have the opportunity of receiving a high quality Nursing Research Paper Services from credible Legitimate Custom Nursing Research Paper Service company.

Custom Term Paper Wr 说:
2019年12月11日 22:21

Custom Term Paper Writing Services are private in that every Custom Term Paper Writing Help Services and Online Term Paper Writing Services client seek from a writing company.

Legitimate Nursing P 说:
2019年12月11日 22:22

Our Legitimate Custom Research Paper Writing Service company is well known in USA for writing the Best Custom Research Papers and Research Paper Help Services.

登录 *

loading captcha image...
or Ctrl+Enter