AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only

id: 0706 -006 Cannot find or Open library field: -l libclntsh.a

  • 1.  id: 0706 -006 Cannot find or Open library field: -l libclntsh.a

    Posted Fri April 02, 2010 02:25 AM

    Originally posted by: HarshalP


    Hello All,

    I am try to compile and run the .c file on AIX5.3 system using xlc compiler. My command is as follows.

    $ xlc -c test_curva.c -I /home/oracle/...../public

    So it gives me .o file i.e test_curva.o. But when i am link it using following command it gives me error.

    $ xlc -o alina test_curva.o -l /home/oracle/lib/libclntsh.a

    Error is:

    id: 0706 -006 Cannot find or Open library field: -l libclntsh.a
    id:open() : A file or directory in the path name does not exit.
    I was manually check that file and dir should present there.

    Plse any one help me.

    Thanx in Advance.
    #AIX-Forum