redhat 9 compile problems
Brought to you by:
jtlien
when compliing on RH 9, i get the following
gcc -lungif -L/usr/X11R6/lib -lX11 -o pdf417_enc main.o
pdf417_enc.o tests.o
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [pdf417_enc] Error 1
what am i missing? i have all kinds of X11 .a files
under /usr/X11R6/lib.
Logged In: NO
I see this is old but I ran into the same problem so I will answer it so that it is documented. You need to load X11-devel then do a make clean and make.