On Friday 05 July 2002 20.24, Alexandre wrote:
> ld: fatal: library -llber: not found
> but the library to be here:
>
> /usr/local/tools/openldap-2.0.23/include/lber.h
> /usr/local/include/lber.h
> /usr/local/openldap-2.0.23/include/lber.h
> /usr/lib/lber.h
> /usr/include/lber.h
This is not a default install is it? lber.h should certainly NOT be in
/usr/lib/...
> and my /etc/profile have this lines:
>
> LD_LIBRARY_PATH=/usr/local/include:/usr/lib:/usr/include
You seems to be confused on what a library is.. a library is a binary
file containing implementations of funcitons used by a program.
This is different from a header file (*.h) that defines to the
compiler the syntax of functions and how they may be called.
Based on your paths to the lber.h HEADER file above I think your
LD_LIBRARY_PATH should be
LD_LIBRARY_PATH=/usr/local/tools/openldap-2.0.23/lib:/usr/lib:/lib
Regards
Henrik
Received on Fri Jul 05 2002 - 18:47:43 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:04 MST