compiler error during linking, what lib do i need?
Status: Beta
Brought to you by:
driescher
can't compile it,
after extracting the source....
# ~//transcode-0.6.12/contrib/subrip $ make
Linking subtitle2pgm
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lppm
collect2: ld returned 1 exit status
make: *** [subtitle2pgm] Error 1
doc says it only depends on gocr and transcode, have those
any reply is welcome :)
Logged In: NO
it says in the readme to comment out the lines that enable
lppm support if you dont have it, rtfm.
Logged In: NO
You can fix this by going into the Makefile and changing the
lines
### enable ppm support ###
DEFINES += -D_HAVE_LIB_PPM_
LIBS += -lppm
to:
### enable ppm support ###
DEFINES += -D_HAVE_LIB_PPM_
LIBS += -lnetpbm
I think they just changed the package these libraries were
in, or at least the reference to it, and the Makefile hasn't
been updated since then.
Logged In: NO
You need libppm.
Logged In: NO
libppm is no longer maintained, netpbm contains ppm support thankfully so
the nobody that mentioned to change the lib to netppm is correct.