Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: compile error / mandrake 8.1



On Wed, 3 Apr 2002, Jürgen Hahn (JH) wrote:

JH> Hi Andreas,
JH>
JH> > -------------------------------------------------
JH> > g++ -g -O2 config.o dvbapi.o dvbosd.o eit.o font.o i18n.o interface.o menu.o osd.o recording.o remote.o remux.o ringbuffer.o svdrp.o thread.o tools.o vdr.o videodir.o -lncurses -ljpeg -lpthread  ./libdtv/libdtv.a -o vdr
JH> > /usr/bin/ld: cannot find -ljpeg
JH> > collect2: ld returned 1 exit status
JH> > make: *** [vdr] Fehler 1
JH> > -------------------------------------------------
JH> >
JH> > As i understand vdr cannot find libjpeg?
JH> > but rpm has installed 'libjpeg62-6b-20mdk'.
JH>
JH>
JH> libjpeg62-devel-6b-20mdk (or so... I'm running Mandrake 8.2) is missing.

run ldconfig after you install a new library (I don't know if rpm runs it
automatically)

in any case, there is a libjpeg.so somewhere. you can find the position of
the file with
  rpm -ql libjpeg62-6b-20mdk
or
  rpm -ql libjpeg62-devel-6b-20mdk

just add
  -L/path/where/the/lib/is
to SHLIBS in the Makefile

c ya
        Sergei
--
--------------------------------------------------------------------
         eMail:       Sergei.Haller@math.uni-giessen.de
--------------------------------------------------------------------
Be careful of reading health books, you might die of a misprint.
                -- Mark Twain




Home | Main Index | Thread Index