Guys,
I come from a solaris background and this is driving me nuts.
I need to find a library file from /usr/lib...
So i have a korn shell profile that i have setup as the following:
LIBPATH=/usr/lib
LD_LIBRARY_PATH=/usr/lib
PATH=/usr/lib
export PATH LIBPATH LD_LIBRARY_PATH
Now if i do a which on two files in the /usr/lib it finds one but not the other.
What am i doing wrong?
Example:
$ which librtl.a
/usr/lib/librtl.a
However:
$ which libC.a
which: 0652-141 There is no libC.a in /usr/lib
Now they both exist in the /usr/lib:
$ ls -la libC.a
lrwxrwxrwx 1 bin bin 23 Jul 12 2003 libC.a -> /usr/lpp/xlC/
lib/libC.a
$ ls -la librtl.a
lrwxrwxrwx 1 bin bin 21 Jul 12 2003 librtl.a -> /usr/ccs/li
b/librtl.a
Thanks.
I come from a solaris background and this is driving me nuts.
I need to find a library file from /usr/lib...
So i have a korn shell profile that i have setup as the following:
LIBPATH=/usr/lib
LD_LIBRARY_PATH=/usr/lib
PATH=/usr/lib
export PATH LIBPATH LD_LIBRARY_PATH
Now if i do a which on two files in the /usr/lib it finds one but not the other.
What am i doing wrong?
Example:
$ which librtl.a
/usr/lib/librtl.a
However:
$ which libC.a
which: 0652-141 There is no libC.a in /usr/lib
Now they both exist in the /usr/lib:
$ ls -la libC.a
lrwxrwxrwx 1 bin bin 23 Jul 12 2003 libC.a -> /usr/lpp/xlC/
lib/libC.a
$ ls -la librtl.a
lrwxrwxrwx 1 bin bin 21 Jul 12 2003 librtl.a -> /usr/ccs/li
b/librtl.a
Thanks.