On Fri, 26 Sep 2008, H.Merijn Brand wrote:
> On Thu, 25 Sep 2008 10:02:51 -0700, Nathan Reed (via RT)
> <perlbug-followup@perl.org> wrote:
>
> > To whom it may concern,
> > After running the Configure step and verifying that the
> > config.sh file had the appropriate information for the make step, I
> > ran the make step. I am getting the following error:
> > :
> > gcc -L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib -o miniperl \
> > `echo gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o
> > mg.o reentr.o mro.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o
> > pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o
> > universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o
> > mathoms.o locale.o pp_pack.o pp_sort.o | sed 's/ op.o / /'` \
> > miniperlmain.o opmini.o
> > Undefined first referenced
> > symbol in file
> > cos pp.o
> > exp pp.o
> > log pp.o
> > pow pp.o
> > sin pp.o
> > ceil pp.o
> > fmod pp.o
> > sqrt pp.o
> > atan2 pp.o
> > floor pp.o
>
> You're missing the math library, not the include file. How did it not
> find libm.a/libm.so/libm.sl?
> So, you're building for a 32bit perl, and you have chosen to answer the
> questions, instead of choosing the default answers (I see no -de option)
Yes, that's what happened. It's a reasonable thing to do, but for some
reason it's also a common thing for users to delete the list of
directories to search for libraries.
> > libpth=/usr/local/lib /usr/ccs/lib
> So my guess is that you have entered '/usr/local/lib /usr/ccs/lib'
> where Configure came with a much longer list of path elements, and
> doing it that way, you've removed the default list.
Yes. That's the culprit. It's missing /usr/lib at the very least.
To fix this, you need to start at the very beginning all over again. See
the section
=item Missing functions and Undefined symbols
in the INSTALL file for more information.
--
Andy Dougherty doughera@lafayette.edu
Thread Previous