pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38455: pkg_install fails to compile on Solaris - missing libraries



>Number:         38455
>Category:       pkg
>Synopsis:       pkg_install fails to compile on Solaris - missing libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 18 13:30:00 +0000 2008
>Originator:     Rob Quinn
>Release:        
>Organization:
>Environment:
>Description:
cc -L/usr/obj/pkg/pkgtools/pkg_install/work/bzip2 
-L/usr/obj/pkg/pkgtools/pkg_install/work/libarchive/.libs 
-L/usr/obj/pkg/pkgtools/pkg_install/work/libfetch 
-L/usr/obj/pkg/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib 
-L../lib -o pkg_admin audit.o check.o config.o main.o -linstall -lbz2 -lfetch 
-lz -ltermcap -lnbcompat
Undefined                       first referenced
 symbol                             in file
bind                                
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
getservbyname                       
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(common.o)
getsockname                         
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
accept                              
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
listen                              
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
socket                              
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
getnameinfo                         
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
setsockopt                          
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(http.o)
connect                             
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
getaddrinfo                         
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(common.o)
getpeername                         
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(ftp.o)
freeaddrinfo                        
/usr/obj/pkg/pkgtools/pkg_install/work/libfetch/libfetch.a(common.o)
ld: fatal: Symbol referencing errors. No output written to pkg_admin
collect2: ld returned 1 exit status

>How-To-Repeat:

>Fix:
I manually compile two or three times with -lsocket -lnsl.



Home | Main Index | Thread Index | Old Index