[ncl-install] ncargex cpex08 -clean problem

Bill Ladwig ladwig at ucar.edu
Wed Nov 15 15:58:33 MST 2017


The error is indicating that the linker cannot find the "libXext.so" file
(which is generally a symlink to the actual library file).  In order for
the linker to find the correct library, there needs to be a symlink with
the name "libXext.so" that should be pointing to /usr/X11R6/lib64/libXext.so.6
(and that symlink in turn (probably) points to
/usr/X11R6/lib64/libXext.so.6.4.0).  If the symlink for libXext.so does not
exist in /usr/X11R6 then you'll need to create it in there, or create it in
another path and add another -L option to point to its directory.

Hope this helps,

Bill


On Wed, Nov 15, 2017 at 3:47 PM, max marconi <marconi at prismabasic.org>
wrote:

> Dear ncl-install
>
>
> ncargex cpex08 -clean
>
>
> leads to the following:
>
>
> gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o
> cpex08 cpexcc.f cpex08.f -L/usr/ext/ncl-6.4.0/lib -L/usr/X11R6/lib64
> -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig
> -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2
> /usr/bin/ld: cannot find -lXext
>
>
> I have Xext located as follows:
>
>
> /usr/X11R6/lib64/libXext.so.6
> /usr/X11R6/lib64/libXext.so.6.4.0
> /usr/lib64/libXext.so.6
> /usr/lib64/libXext.so.6.4.0
>
>
> Could you point me to a solution
>
>
> Thanks,
>
>
> Dr. Max Marconi
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20171115/0c9dbeb9/attachment.html>


More information about the ncl-install mailing list