I have had a look on google and the archives and although I have seen people with a similar issue I have not been able to find an answer to the issue I have. I am trying to compile the magicolor 2430DL printer dirvers and keep running into the following error: root@lancelot# make Linking rastertokmlf... /usr/bin/ld: cannot find -lcups *** Error code 1 Stop in /root/magicolor2430DL-1.1.0. Now I have the following cups packages installed (I am using 5.3), what am I doing wrong? Thanks Jake root@lancelot# pkg_info | grep cups cups-1.1.23.0 The Common UNIX Printing System: Metaport to install comple cups-base-1.1.23.0_3 The Common UNIX Printing System: headers, libs, & daemons cups-lpr-1.1.23.0 The CUPS BSD and system V compatibility binaries (lp* comma cups-pstoraster-7.07_3 GNU Postscript interpreter for CUPS printing to non-PS prin gnome-cups-manager-0.28,1 Admistration tool for cups libgnomecups-0.1.14,1 Support library for gnome cups admistration
On Thursday 03 March 2005 02:04 am, Jake Stride wrote:> I have had a look on google and the archives and although I have seen > people with a similar issue I have not been able to find an answer to > the issue I have. > > I am trying to compile the magicolor 2430DL printer dirvers and keep > running into the following error: > > root@lancelot# make > Linking rastertokmlf... > /usr/bin/ld: cannot find -lcups > *** Error code 1try ls -l /usr/local/lib/libcups* to see if the libraries are in place if not install: /usr/ports/print/cups-base if they are try: ldconfig -m /usr/local/lib/ -Mike
Michael C. Shultz wrote:>try ls -l /usr/local/lib/libcups* >to see if the libraries are in place >if not install: >/usr/ports/print/cups-base >if they are try: >ldconfig -m /usr/local/lib/ > >-Mike >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >Still no luck: ls -l /usr/local/lib/libcups* -rwxr-xr-x 1 root wheel 159842 Jan 28 16:04 /usr/local/lib/libcups.a lrwxr-xr-x 1 root wheel 12 Jan 28 16:04 /usr/local/lib/libcups.so -> libcups.so.2 -rwxr-xr-x 1 root wheel 124828 Jan 28 16:04 /usr/local/lib/libcups.so.2 -rwxr-xr-x 1 root wheel 102092 Jan 28 16:04 /usr/local/lib/libcupsimage.a lrwxr-xr-x 1 root wheel 17 Jan 28 16:04 /usr/local/lib/libcupsimage.so -> libcupsimage.so.2 -rwxr-xr-x 1 root wheel 79770 Jan 28 16:04 /usr/local/lib/libcupsimage.so.2 root@lancelot# ldconfig -m /usr/local/lib root@lancelot# make Linking rastertokmlf... /usr/bin/ld: cannot find -lcups *** Error code 1 Stop in /root/magicolor2430DL-1.1.0. Thanks Jake -- Jake Stride Senokian Solutions Ltd The TechnoCentre Coventry University Technology Park Puma Way Coventry CV1 2TT T: 0870 744 2030 F: 0870 460 2623 M: 07713 627 304 E: jake.stride@senokian.com
Michael C. Shultz wrote:>try ls -l /usr/local/lib/libcups* >to see if the libraries are in place >if not install: >/usr/ports/print/cups-base >if they are try: >ldconfig -m /usr/local/lib/ > >-Mike >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >Still no luck: ls -l /usr/local/lib/libcups* -rwxr-xr-x 1 root wheel 159842 Jan 28 16:04 /usr/local/lib/libcups.a lrwxr-xr-x 1 root wheel 12 Jan 28 16:04 /usr/local/lib/libcups.so -> libcups.so.2 -rwxr-xr-x 1 root wheel 124828 Jan 28 16:04 /usr/local/lib/libcups.so.2 -rwxr-xr-x 1 root wheel 102092 Jan 28 16:04 /usr/local/lib/libcupsimage.a lrwxr-xr-x 1 root wheel 17 Jan 28 16:04 /usr/local/lib/libcupsimage.so -> libcupsimage.so.2 -rwxr-xr-x 1 root wheel 79770 Jan 28 16:04 /usr/local/lib/libcupsimage.so.2 root@lancelot# ldconfig -m /usr/local/lib root@lancelot# make Linking rastertokmlf... /usr/bin/ld: cannot find -lcups *** Error code 1 Stop in /root/magicolor2430DL-1.1.0. Thanks Jake
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 03 Mar 2005 11:58:02 +0000, Jake Stride <nsuk@users.sourceforge.net> wrote:> root@lancelot# make > Linking rastertokmlf... > /usr/bin/ld: cannot find -lcups > *** Error code 1 > > Stop in /root/magicolor2430DL-1.1.0.Make distclean. Now, before running ./configure again, set these variables: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib - -- G. Stewart - gstewart@bonivet.net A conclusion is simply the place where someone got tired of thinking. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCJwADK5oiGLo9AcYRAlU5AKCk24eVVRNPo3ap/JaXH8I9EjhepwCfSrPj bR+3soanNwr45f0RE5zDqGw=BN2y -----END PGP SIGNATURE-----