Opened 11 years ago

Closed 9 years ago

#670 closed defect (fixed)

Failure to build Ruby bindings

Reported by: miurahr Owned by: csavage
Priority: major Milestone: 3.5.0
Component: SWIG Ruby Version: main
Severity: Unassigned Keywords:
Cc: miurahr

Description

Build fails with --with-ruby

/bin/bash ../../libtool --tag=CXX --mode=link g++ -fpermissive -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -no-undefined -module -avoid-version -L/usr/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o geos.la -rpath /usr/local/lib/site_ruby/1.8/x86_64-linux geos_la-geos_wrap.lo ../../capi/libgeos_c.la -llibruby1.8.so.1.8.7 libtool: link: g++ -fpermissive -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o .libs/geos_la-geos_wrap.o -Wl,-rpath -Wl,/build/buildd/geos-3.4.99~3.5.0dev~20130922/capi/.libs -L/usr/lib ../../capi/.libs/libgeos_c.so -llibruby1.8.so.1.8.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o -O2 -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-soname -Wl,geos.so -o .libs/geos.so /usr/bin/ld: cannot find -llibruby1.8.so.1.8.7 collect2: ld returned 1 exit status

Attachments (1)

commit-e34166e (918 bytes ) - added by miurahr 11 years ago.
patch to fix ruby swig binding

Download all attachments as: .zip

Change History (4)

by miurahr, 11 years ago

Attachment: commit-e34166e added

patch to fix ruby swig binding

comment:1 by strk, 10 years ago

Can you please try with r3967 or r3966 ?

comment:2 by robe, 9 years ago

Cc: miurahr added

Can someone who has rube test this. If I still see it open in another day, I'm just going to mark as fixed.

comment:3 by robe, 9 years ago

Resolution: fixed
Status: newclosed

Since no word and strk is in agreement - marking this as fixed.

Note: See TracTickets for help on using tickets.