Subject: Re: needed by .buildlink/lib/ but it is there
To: Jeremy C. Reed <>
From: Thomas Klausner <>
List: tech-pkg
Date: 06/01/2002 18:42:22
Hi Jeremy!

The c++ line you quoted is missing "-Wl,-R/usr/X11R6/lib
-Wl,-R/usr/pkg/lib"; somehow the LDFLAGS don't end up on the command
line, probably because it's c++ and not c. Perhaps adding ${LDFLAGS}
to CXXFLAGS will help.

Another more short-term workaround would be to add -ljpeg to the
command line, but then the installed program won't run (because it's
missing /usr/pkg/lib and /usr/X11R6/lib in its rpath).

> What is especially confusing is that the configure script works fine, but
> I have to more to get the actual compile to work.

The configure script will probably test a c program, not a c++ one.


Thomas Klausner -
When all other means of communication fail, try words.