#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    1
    Rep Power
    0

    error when I try building openldap


    when i run 'make', i get following errors

    /usr/local/BerkeleyDB.4.2/lib: file not recognized: Is a directory
    collect2: ld returned 1 exit status
    make[2]: *** [dtest] Error 1
    make[2]: Leaving directory `/usr/local/src/openldap-2.1.25/libraries/liblber'
    make[1]: *** [all-common] Error 1
    make[1]: Leaving directory `/usr/local/src/openldap-2.1.25/libraries'
    make: *** [all-common] Error 1

    what have i miss?

    help plz

    //asset
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Location
    Holland
    Posts
    1
    Rep Power
    0
    You probably left a space (' ') between the -L and the directory name /(berkely location)/lib when you ran configure. Remove that space, and it should work:

    -L/(berkeley location/lib
    -I/(berkeley location/include

    Maarten

IMN logo majestic logo threadwatch logo seochat tools logo