This is not just for the program in pkg or ports collection. I'm now build the stardict (http://stardict.sourceforge.net), which I have installed all the prerequired lib such as popt which located in /usr/local/lib/libpopt..... But when doing ./configure
it showed checking for poptStrippedArgv in -lpopt... no configure: error: popt 1.5 or newer is required to build stardict. You can download the latest version from ftp://people.redhat.com/sopwith/popt/ and config.log showed as following: configure:23010: checking for poptStrippedArgv in -lpopt configure:23040: gcc -o conftest -g -O2 conftest.c -lpopt >&5 /usr/bin/ld: cannot find -lpopt collect2: ld returned 1 exit status I have tried to do some config for the ldconfig related such as add shlib_dir=/usr/local/lib in /etc/rc.conf.local or set the LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/X11R6/lib as sysenv parameter. they either can't make it work. what should I do then? On 7/13/05, Christian Lecompte <[EMAIL PROTECTED]> wrote: > 2005/7/13, Glamous <[EMAIL PROTECTED]>: > > Hi all, > > > > I just downloaded the QT3 and arts, kdelib, kdebase src pkg and want > > to build a new kde from scratch by hand. > > I'm so confused that sometimes the configure program can not check > > pass for some of the lib missing which I'm sure pkg_add has installed > > in my /usr/local/lib. > > I know there's a /etc/ld.so.conf (in linux) which control the ldconfig > > to cache the dyn-lib search path when doing some ld operation during > > building. But I can't find it now. I wonder how the OpenBSD control > > its ld search path, by LD_LIBRARY_PATH? > > > > Best regards, > > > > Glamous. > > quick answer: man ldconfig > > Litlle longer answer: use pre-compiled packages. They are available > specifically for users so they is no need to compile everything from > scratch. > > Christian

