/usr/bin/ld: cannot find -lcups



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

  • Re: Converting from Linux
    ... Red Hat will continue to support and update its Enterprise version. ... Enterprise for IT and Fedora for desktop is probably an easier route. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Why did SuSE choose NOT to take the path of RedHat?
    ... > Enterprise product line is a hybrid kernel, ... SUSE like Red Hat (and SUSE for much, ... longer) has incorporated enterprise needed features into their kernels. ... No need to hack NPTL into a back rev'd kernel since they were doing 2.6. ...
    (alt.os.linux.suse)
  • Re: Guide Line about Linux
    ... I could not recommend going back to Red Hat 9. ... Enterprise Linux 5. ... I want to know some question about redhat. ...
    (RedHat)
  • Re: Sendmail+Vacation+RHEL ES
    ... from the Enterprise server, Their email follows. ... > I regret to inform you that the vacation feature has been removed from ... > Red Hat Global Support Services ... > Red Hat knowledge base contains handy tips and troubleshooting advice ...
    (RedHat)
  • Re: Red Hat qestion...
    ... >> i want to install a red hat partition on my hd. ... >> neither version mentions gnome or kde desktops. ... >> does anybody know anything about redhat enterprize or redhat 9? ... of both enterprise and community versions of their OS'. ...
    (alt.os.linux)