Oracle Password Repository Make Failed

Help
2010-03-31
2013-04-17
  • Vaman Prabhu
    Vaman Prabhu
    2010-03-31

    I am configuring OPR on Solaris.

    I performed below:
    ./configure

    It completed without any error.

    But next step "make" is giving below error

    $ make
    Making all in libltdl
    make  all-am
    Making all in src
    make  all-am
    /bin/bash ../libtool -tag=CC -mode=link gcc  -g -O2    -o opr  opr.o
    oprora.o ../libltdl/libltdlc.la
    gcc -g -O2 -o opr opr.o oprora.o  ../libltdl/.libs/libltdlc.a -ldl
    Undefined                       first referenced
      symbol                             in file
    nanosleep                           opr.o
    ld: fatal: Symbol referencing errors. No output written to opr
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `opr'
    Current working directory /export/home/opr/opr-1.1.11/src
    *** Error code 1
    make: Fatal error: Command failed for target `all'
    Current working directory /export/home/opr/opr-1.1.11/src
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
       case $f in \
         *=* | -*);; \
         *k*) failcom='fail=yes';; \
       esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='libltdl src'; for subdir in $list; do \
       echo "Making $target in $subdir"; \
       if test "$subdir" = "."; then \
         dot_seen=yes; \
         local_target="$target-am"; \
       else \
         local_target="$target"; \
       fi; \
       (cd $subdir && make  $local_target) \
       || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
       make  "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'

    Please guide us as soon as possible.

     
  • John Larson
    John Larson
    2011-02-08

    Try ./configure LIBS=" -lposix4"