Re: libXext.so.0: can't open file ?

From: NCAR G Talk (ncargt@XXXXXX)
Date: Tue Feb 20 2001 - 08:45:03 MST

  • Next message: Lin, chun-yu.: "Re: ncargf90"

    > I tried installing the sun binary version (Solaris2.7_sun4) on Sun
    > UltraSparc (Solaris2.5.1) and the installation was finished
    > successfully. But I failed to do a quick test according to the
    > instruction.
    > .
    > .
    > Executing <cpex08>...
    > ld.so.1: ././cpex08: fatal: libXext.so.0: can't open file: errno=3D2
    > Killed
    > .
    > .
    > .
    > I do have the file libXext.so.0 in /usr/openwin/lib on our machine:
    > root% cd usr/openwin/lib
    > root% find . -name libXext.so.0 -print
    > ./libXext.so.0
    > root% ls -l libXext.so.0
    > -rwxr-xr-x 1 root bin 67496 Mar 22 1996 libXext.so.0*
    >
    > How to fix the problem ?
    >
    > Thanks,
    > Sizheng Zhu
    > (szhu@mail.ipp.ac.cn)

    Dear Sizheng Zhu,

    You may need to add /usr/openwin/lib to your LD_LIBRARY_PATH. You can
    do this in your .login file:

      setenv LD_LIBRARY_PATH /usr/openwin/lib

    If LD_LIBRARY_PATH is already set to something, then just add
    /usr/openwin/lib to the end of the path, and add a colon between path
    names. For example:

      setenv LD_LIBRARY_PATH /usr/dt/lib:/usr/openwin/lib

    For this change to take effect, you either need to source the .login
    file, or log out and log back in again.

    --Mary Haley



    This archive was generated by hypermail 2b29 : Tue Feb 20 2001 - 08:54:41 MST