[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re: CXX-DEV: ld can't find libelf.2
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2004-05-19 2:36:36
Message-ID: 200405190236.TAA27868 () hpcll183 ! cup ! hp ! com
[Download RAW message or body]

>From: Nikolay Mladenov <nickm@sitius.com>
>> Which of these shared libs has libelf.2 as a dependent lib?
>> What paths do each have for it?  Try ldd(1) on each.

>$ldd libugopenint.sl
>$ldd libufun.sl
>        libCsup.2 =>    /lib/pa20_64/libCsup.2
>        libelf.2 =>     /lib/pa20_64/libelf.2

Try chatr(1) on libugopenint.sl & libufun.sl.

>$ ls -l /
>drwxrwxr-x   2 bin        bin     96 Apr 21 10:22 usr

You can use "ll -d usr" so you only see the one directory.

>-r-xr-xr-x   1 bin        bin 150640 Nov 14  2000 /usr/lib/pa20_64/libelf.2

They all look fine.

>lr-xr-xr-t   1 root       sys      8 Mar 18 16:16 /lib -> /usr/lib
>        ^^^
>I could not get the meaning of this "t" permission (which applies to me
>as a user)

The "t" stands for Transition link.  It's the same as a symbolic link
except it means "you shouldn't really depend on me".

>I tried putting -L/lib/pa20_64 on the command line but didn't help
Nikolay Mladenov

You should really use /usr/lib and not just /lib.  But that shouldn't
be the problem.
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic