[Varnish] #152: Varnish 1.1.1 compile fails on Solaris 10

Varnish varnish-bugs at projects.linpro.no
Wed Aug 29 12:53:24 CEST 2007


#152: Varnish 1.1.1 compile fails on Solaris 10
---------------------+------------------------------------------------------
 Reporter:  jimlane  |        Owner:  des                
     Type:  defect   |       Status:  assigned           
 Priority:  normal   |    Milestone:  Varnish 2.0 release
Component:  build    |      Version:  1.1.1              
 Severity:  normal   |   Resolution:                     
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by des):

  * status:  new => assigned
  * version:  trunk => 1.1.1
  * milestone:  => Varnish 2.0 release

Old description:

> I am trying to compile varnish 1.1.1 on Solaris 10. The configure script
> runs cleanly but the compile fails with these error messages:
>
> /bin/bash ../../libtool --tag=CC   --mode=link /usr/local/bin/gcc
> -include config.h -g -O2   -o varnishadm varnishadm-varnishadm.o
> ../../lib/libvarnish/libvarnish.la
> ../../lib/libvarnishcompat/libvarnishcompat.la
> mkdir .libs
> /usr/local/bin/gcc -include config.h -g -O2 -o .libs/varnishadm
> varnishadm-varnishadm.o  ../../lib/libvarnish/.libs/libvarnish.so -lrt
> ../../lib/libvarnishcompat/.libs/libvarnishcompat.so -R/usr/local/lib
> Undefined                       first referenced
>  symbol                             in file
> bind
> ../../lib/libvarnish/.libs/libvarnish.so
> listen
> ../../lib/libvarnish/.libs/libvarnish.so
> socket
> ../../lib/libvarnish/.libs/libvarnish.so
> setsockopt
> ../../lib/libvarnish/.libs/libvarnish.so
> connect
> ../../lib/libvarnish/.libs/libvarnish.so
> getaddrinfo
> ../../lib/libvarnish/.libs/libvarnish.so
> freeaddrinfo
> ../../lib/libvarnish/.libs/libvarnish.so
> gai_strerror
> ../../lib/libvarnish/.libs/libvarnish.so
> ld: fatal: Symbol referencing errors. No output written to
> .libs/varnishadm
> collect2: ld returned 1 exit status
>
> I took all defaults on the configure and I'm using GCC 3.4.6 for the
> compile. It looks like I'm either missing a library or have a wrong
> version somewhere (I don't really understand what this message is trying
> to tell me).
>
> What am I doing wrong here?
>
> Regards,
> Jim Lane

New description:

 I am trying to compile varnish 1.1.1 on Solaris 10. The configure script
 runs cleanly but the compile fails with these error messages:

 {{{
 /bin/bash ../../libtool --tag=CC   --mode=link /usr/local/bin/gcc -include
 config.h -g -O2   -o varnishadm varnishadm-varnishadm.o
 ../../lib/libvarnish/libvarnish.la
 ../../lib/libvarnishcompat/libvarnishcompat.la
 mkdir .libs
 /usr/local/bin/gcc -include config.h -g -O2 -o .libs/varnishadm
 varnishadm-varnishadm.o  ../../lib/libvarnish/.libs/libvarnish.so -lrt
 ../../lib/libvarnishcompat/.libs/libvarnishcompat.so -R/usr/local/lib
 Undefined                       first referenced
  symbol                             in file
 bind
 ../../lib/libvarnish/.libs/libvarnish.so
 listen
 ../../lib/libvarnish/.libs/libvarnish.so
 socket
 ../../lib/libvarnish/.libs/libvarnish.so
 setsockopt
 ../../lib/libvarnish/.libs/libvarnish.so
 connect
 ../../lib/libvarnish/.libs/libvarnish.so
 getaddrinfo
 ../../lib/libvarnish/.libs/libvarnish.so
 freeaddrinfo
 ../../lib/libvarnish/.libs/libvarnish.so
 gai_strerror
 ../../lib/libvarnish/.libs/libvarnish.so
 ld: fatal: Symbol referencing errors. No output written to
 .libs/varnishadm
 collect2: ld returned 1 exit status
 }}}

 I took all defaults on the configure and I'm using GCC 3.4.6 for the
 compile. It looks like I'm either missing a library or have a wrong
 version somewhere (I don't really understand what this message is trying
 to tell me).

 What am I doing wrong here?

 Regards,
 Jim Lane

Comment:

 Solaris is currently not supported due to lack of resources.

 You can work around these specific errors by defining {{{LDFLAGS="-lsocket
 -lns"}}} in your environment before running {{{configure}}}, but you will
 probably run into other issues.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/152#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list