Menu

make 0.20/src - "cannot find -ltiff"

Help
Anonymous
2001-01-31
2001-02-03
  • Anonymous

    Anonymous - 2001-01-31

    Can anyone help? I can't compile the source files from glunarclock-0.20-1.src.rpm .

    Running rh6.2, Ximian Gnome (latest update), and gcc version
    egcs-2.91.66 .

    While in /usr/src/redhat/SOURCES/glunarclock-0.20 :

    - 'configure' runs with no errors

    - make recurses into glunarclock-0.20/src , and results in the following gcc error

    gcc  -g -O2 -Wall -Wunused   -o glunarclock  glunarclock.o moondata.o moondatadialog.o moonproperties.o CalcEphem.o Moon.o MoonRise.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl  -rdynamic -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl -rdynamic -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgdk_pixbuf -ltiff -ljpeg -lpng -lz -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
    /usr/bin/ld: cannot find -ltiff
    collect2: ld returned 1 exit status
    make: *** [glunarclock] Error 1

    If I remove '-ltiff' from src/Makefile , I get this error:

    /usr/bin/ld: cannot find -ljpeg

     
    • Josh Buhl

      Josh Buhl - 2001-02-03

      It's easier to try rebuilding the rpm.  To rebuild the rpm  for your system  get the src.rpm and do

      $ rpm --rebuild glunarclock-0.20-1.src.rpm

       

Log in to post a comment.