[JDEV] problems compiling

Nitin Borwankar nitin at borwankar.com
Sun Jul 9 16:26:44 CDT 2000


This is a linker problem and the solution is mentioned
(without mentioning the problem!!) in the Server HOW-TO
which exhorts you to run ldconfig as often as possible.

Make sure /usr/local/lib is known to the dynamic linker.
On Linux this is done by adding a line (/usr/local/lib)
in /etc/ld.so.confdo not know what the equiv is on 
FreeBSD.
After that on Linux I run ldconfig. Again do not know the equiv on
FreeBSD.  Basically these two steps will make any newly installed
libraries
known to the dynamic linker.

You need to do this 2-step after each new set of libraries.
If all new libraries go in /usr/local/lib, then you need to do the
ldconfig step only from the second time onwards.

Nitin Borwankar


Michael O Shea wrote:
> 
> Hi folks,
> I am trying to compile on FreeBSD4 stable.
> I installed as per instructions and get as far as libetherx-1.0 where
> ./configure dies saying,
> checking for adns_init in -ladns... no
>    You do not seem to have the asynchronous dns libray on   *
> *  your system.  and so on.
> 
> Trouble is I have it on the system. adns binaries in /usr/local/bin
> and libs in /usr/local/lib
> 
> I saw some other people posting with the same problem but I cannot
> find any answers.
> I have even rebooted the box and still no avail.
> Anybody have any ideas ?
> --
> 
> Micheal O Shea                         Email:micheal at com4u.ch
> com4u.ch                                        http://www.com4u.ch
> Breitistrasse 7B                PGP key available upon request.
> CH-5506 Maegenwil                            Tel: +41 62 896 46 26
> Switzerland
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev




More information about the JDev mailing list