Re: /usr/bin/ld: cannot find -lcups



Please disregard this line

/usr/bin/ld: cannot find -lX11

I put it in by mistake. The problem I'm having has to do with,

/usr/bin/ld: cannot find -lcups

Thank you,

Roger

On Oct 28, 8:45 pm, Roger <Ben.Yits...@xxxxxxxxx> wrote:
Hi,

I was wondering if anyone could tell me how to find a solution to this
problem? Right now attempting to build an application on Red Hat
Enterprise 5, but I get the following error:

[rmoore@localhost vnew]$ make debug
/usr/bin/ld: cannot find -lX11
cd ./vbatch; make TARGET=debug all
make[1]: Entering directory `/home/roger/workspace/vnew/vbatch'
g++ -g -o ../outdir/debug/vbatch.exe ../outdir/debug/vbatch/vbatch.o -
L../outdir/debug -L../outdir/debug/xvtlib -L/usr/X11R6/lib -L../
license/lib/license -lvwin_batch -lgeom3d -lwinport -lfreetype -ltiff
-lxispread -lpwr -lrw -lxvtxmapi500 -lxvtxmhb500 -lxvtxmba500 -
lxvtxmhi500 -lnxpro -lcups -lm -lGL -lGLU -lX11 -lXm -llicense -
lpthread -lstdc++
/usr/bin/ld: cannot find -lcups
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/roger/workspace/vnew/vbatch'
make: *** [debug] Error 2
[roger@localhost vnew]$

I've manually installed libstdc++-devel-4.1.1.1-30.i386.rpm and gcc-c+
+-4.1.1-30.i386.rpm using the -ivh switches, because RHEL 5 doesn't
install g++ by default. Any ideas on fixing this? Or does anyone
know a link to an article that could explain this error in more detail
and it's solution? I've seen other people come across similar errors
(ld: cannot find -l.....), and am sure I will come across it again.

Thanks,
Roger


.



Relevant Pages