Search results

  1. codeape

    ldconfig works but not ld

    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...
  2. codeape

    ldconfig works but not ld

    Here you are: /var/run/ld-elf.so.hints: search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib Ok, thanks :)
  3. codeape

    ldconfig works but not ld

    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...
  4. codeape

    ldconfig works but not ld

    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
  5. codeape

    ldconfig works but not ld

    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...
  6. codeape

    ldconfig works but not ld

    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...
Back
Top