Ticket #331 (closed defect: wontfix)

Opened 3 years ago

Last modified 2 years ago

GEOS build fails on linking on Solaris

Reported by: sandy2010 Owned by: pramsey
Priority: major Milestone:
Component: Build/Install Version: 3.1.1
Severity: Critical Keywords: sun,solaris,sparc
Cc:

Description (last modified by mloskot) (diff)

I'm building geos-3.1.1 on Solaris (5.9 sparc and 5.10 x86) and used all the 3 patches uploaded by rroliver in ticket #224.

and I get some issue during link time with multiple symbol definitions. When I provide --disable-inline during configure, it gives me the following error on linking:

CC -G -zdefs -hlibgeos-3.1.1.so -o .libs/libgeos-3.1.1.so   .libs/inlines.o -Qoption ld -z -Qoption ld allextract,algorithm/.libs/libalgorithm.a,geom/.libs/libgeom.a,geomgraph/.libs/libgeomgraph.a,index/.libs/libindex.a,io/.libs/libio.a,noding/.libs/libnoding.a,operation/.libs/liboperation.a,planargraph/.libs/libplanargraph.a,precision/.libs/libprecision.a,simplify/.libs/libsimplify.a,util/.libs/libutil.a -Qoption ld -z -Qoption ld defaultextract  -lCstd -lCrun -lc  

Undefined                       first referenced
 symbol                             in file

cos    operation/.libs/liboperation.a(OffsetCurveBuilder.o)
log    geom/.libs/libgeom.a(PrecisionModel.o)
pow      index/.libs/libindex.a(DoubleBits.o)
sin      operation/.libs/liboperation.a(OffsetCurveBuilder.o)
ceil     geom/.libs/libgeom.a(PrecisionModel.o)
fabs     algorithm/.libs/libalgorithm.a(CGAlgorithms.o)
sqrt     algorithm/.libs/libalgorithm.a(CGAlgorithms.o)
atan2    geom/.libs/libgeom.a(LineSegment.o)
floor    algorithm/.libs/libalgorithm.a(RobustDeterminant.o)
__fabsl  algorithm/.libs/libalgorithm.a(HCoordinate.o)
ld: fatal: Symbol referencing errors. No output written to .libs/libgeos-3.1.1.so
make[2]: *** [libgeos.la] Error 1
make[2]: Leaving directory `/opt/geos-3.1.1/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/geos-3.1.1/source'
make: *** [all-recursive] Error 1

Change History

Changed 3 years ago by mloskot

  • keywords sun,solaris,sparc added

Changed 3 years ago by mloskot

  • description modified (diff)

Changed 3 years ago by mloskot

Note, the patches from #224 have not been incorporated to GEOS source base, so they are not supported as a part of GEOS.

Changed 3 years ago by rroliver

configure with

LIBS="-lm" ./configure ...

Changed 3 years ago by mloskot

  • owner changed from geos-devel@… to pramsey
  • component changed from Default to Build/Install
  • summary changed from Geos build fails on linking on Solaris to GEOS build fails on linking on Solaris

Feel free to update the Build Hints in BuildingOnUnixWithAutotools

Changed 2 years ago by strk

  • status changed from new to closed
  • resolution set to wontfix

Successful builds have been reported of geos 3.3.0 on solaris10 with sun pro v12 3.1 won't be fixed.

Note: See TracTickets for help on using tickets.