After some research, I have one more question. An evolved solution to what you guys are suggesting is to add CFLAGS and LDFLAGS to my configure.ac like this:
CFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
This article suggest that...
I know the difference of the ld command and ld.so however it looks like there is a a difference how these work in different *nixes. In linux for example ldconfig creates its hints in /etc/ld.so.conf and that file is used by both the ld command and ld.so. I am new to FreeBSD so I do not know all...
I have done ldconfig -m /lib/local/lib and can see libevent with libconf and ld can still not find libevent? How can that not be a bug. Explain please :stud
Thnx for the reply and yes that works good for now:
$ export LDFLAGS=-L/usr/local/lib
$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix...
Hello, my first post
I run FreeBSD 8 with the latest and gratest (done freebsd-update fetch and install plus portmaster -a). It is newly installed ;)
I discovered my problem after installing devel/libevent. After installing libevent I added it to my configure.ac in my little project. After...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.