Subject: Re: gcc34 from pkgsrc won't build?
To: Andy Ruhl <acruhl@gmail.com>
From: Dave Feustel <dfeustel@mindspring.com>
List: port-amd64
Date: 12/27/2004 11:02:06
On Monday 27 December 2004 10:22 am, Andy Ruhl wrote:
> I do have libiconv installed.

When qmake runs on OpenBSD, it doesn't find all
the libraries needed to link without a little help.

For example, with the new Qt 4.0 beta, creating a
Makefile with the commands

qmake -project
qmake

often fails because qmake doesn't put /usr/X11R6/lib in the library
search path. To get that dir added to the search path, do either
(in the project's root directory)

qmake -project
qmake "LIBS =+ -L/usr/X11R6/lib" #add this dir to lib search path in Makefile

or 

qmake -project "LIBS =+ -L/usr/X11R6/lib"  #put extra lib search path in .pro
qmake									#create Makefile from info in .pro file

My guess is that you need to do something similar with the path of the dir
containing libiconv.

see the qmake man page at trolltech for more info

Dave Feustel