When I install wxWidgets everything seemed to go fine. Then when I compile 
PGAdmin3 1.2.2 I get:

Undefined                       first referenced
 symbol                             in file
gethostbyname                       pgConn.o  (symbol belongs to implicit 
dependency /usr/lib/libnsl.so.1)
inet_addr                           pgConn.o  (symbol belongs to implicit 
dependency /usr/lib/libnsl.so.1)
inet_ntoa                           pgConn.o  (symbol belongs to implicit 
dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to pgadmin3
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Anyone had experience with this error? I can't believe that gethostbyname is 
unresolvable.

I see that my libs are there and I have even updated my windex:
man -k gethostbyname:
endhostent      gethostbyname (3nsl)    - get network host entry
gethostbyaddr   gethostbyname (3nsl)    - get network host entry
gethostbyaddr_r gethostbyname (3nsl)    - get network host entry
gethostbyname   endhostent (3xnet)  - network host database functions
gethostbyname   gethostbyname (3nsl)    - get network host entry
gethostbyname_r gethostbyname (3nsl)    - get network host entry
gethostent      gethostbyname (3nsl)    - get network host entry
gethostent_r    gethostbyname (3nsl)    - get network host entry
sethostent      gethostbyname (3nsl)    - get network host entry

*-

I did make the mistake of trying to compile once before having installed STC 
and OGL, but I corrected that. While making that mistake, I arbitrarily copied 
over the entire headers folder from wxWidgets into 
/usr/local/wx-<ver>/wx/include. Unfortunately, now I don't know what to delete 
but that shouldn't cause this problem should it? 

Neil S. Verkland, B.Sc.C.S.
Manager, Learning and Information Systems
Grant MacEwan College


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to