-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/26/10 9:13 PM, ScKaSx wrote: > > Hi All, > > I recently bought a new macbook pro and am trying to rerun code that worked > before on my older macbook pro. Note: Xcode and Fink installed. > > CC = g++ > XLIB = -lplot -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lpng -lz > LIB_FLAGS = -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib > CFLAGS = -Wall -I/Users/kakuda/Code/include > OBJS = gplot.o pushgraph.o > main: $(OBJS) > $(CC) $(CFLAGS) $(LIB_FLAGS) $(OBJS) $(XLIB) -o gplot > gplot.o: gplot.cc > $(CC) $(CFLAGS) -c gplot.cc > pushgraph.o: ~/Code/include/pushgraph.cc > $(CC) $(CFLAGS) -c $(HOME)/Code/include/pushgraph.cc > > When I compile the makefile it complains with the following: > > g++ -Wall -I/Users/Doe/Code/include -L/usr/local/lib -L/usr/X11R6/lib > -L/sw/lib gplot.o pushgraph.o -lplot -lXaw -lXmu -lXt -lSM -lICE -lXext > -lX11 -lpng -lz -o gplot > ld: library not found for -lplot > collect2: ld returned 1 exit status > make: *** [main] Error 1 > > Any ideas? Did I miss an installation procedure for Developer Tools or > something? > > I previously installed the 'plotutils' package so I believe libplot is > installed. > > Cheers, > ScKaSx
Rather than relying on faith, try "dpkg -S libplot.dylib". If you don't have libplot-dev installed, which are the headers and other files required to build stuff, that would account for what you're seeing. - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvWO4kACgkQB8UpO3rKjQ/O4gCfY8/t3Ll5MKlkhNvY3vkrro2I BXIAnAsAvCfcR0xnW7NcfxU3ClsUrfm1 =9kAE -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
