On Sun, Sep 19, 2004 at 02:36:49AM +0200, Tony Earnshaw wrote:
lør, 18.09.2004 kl. 23.29 skrev Alex S Moore:
On Sat, 18 Sep 2004 15:10:40 -0400
Sam Carleton <scar...@miltonstreet.com> wrote:
I am totally lost at this point; if I understand ldd correctly, it is
saying that it is looking in /usr/local/lib for the c++ library, which
is where that library is located. Why cann't maildrop find it?
You may have LD_LIBRARY_PATH set when you run ldd. What you
probably want is `dump -Lv <full path to object>` and look at the
RUNPATH variable. Depending on the tool that you are using, use
LD_OPTIONS or LD_RUN_PATH to set this.
You may want to use either gmake or/usr/ccs/bin/make for make. gamke
and LD_OPTIONS work for me with maildrop.
Hmmm ... someone on the Openldap list muttered something about crle as
appropriate for Solaris lib environments (but was smartly rapped on his
fingers by QMG). On RHAS/RHEL3 I use ld.so.conf/ldconfig.
Nevertheless, OP might like to look at crle.
Not sure why crle might be such a no-no. I've been using the following
on my mail boxes for years:
crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/usr/local/ssl/lib -i
/usr/lib -i /usr/local/lib -i /usr/local/ssl/lib