Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496408 - sci-libs/geos USE="ruby" - ld: cannot find -llibruby18.so.1.8.7
Summary: sci-libs/geos USE="ruby" - ld: cannot find -llibruby18.so.1.8.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-29 16:31 UTC by Berthold Humkamp
Modified: 2015-01-29 21:10 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build-3.4.2.log (build.log,258.90 KB, text/plain)
2013-12-29 16:31 UTC, Berthold Humkamp
Details
emerge --info '=sci-libs/geos-3.4.2::gentoo' (emerge-info.txt,8.08 KB, text/plain)
2013-12-29 16:42 UTC, Berthold Humkamp
Details
emerge -pqv '=sci-libs/geos-3.4.2::gentoo' (emerge-pqv.txt,160 bytes, text/plain)
2013-12-29 16:47 UTC, Berthold Humkamp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Berthold Humkamp 2013-12-29 16:31:54 UTC
Created attachment 366458 [details]
build-3.4.2.log

The error occurs in 3.4.1-r1 and in 3.4.2.
USE="-ruby" makes the package to build succesfully.

The system is up to date and is mostly stable branch "amd64" multilib.
Comment 1 Berthold Humkamp 2013-12-29 16:42:50 UTC
Created attachment 366460 [details]
emerge --info '=sci-libs/geos-3.4.2::gentoo'
Comment 2 Berthold Humkamp 2013-12-29 16:47:10 UTC
Created attachment 366462 [details]
emerge -pqv '=sci-libs/geos-3.4.2::gentoo'
Comment 3 Judson 2014-01-16 02:15:01 UTC
I'm having a closely related problem (the missing lib is libruby20.so.2.0.0) It looks like the problem is that ld is being given -llibruby20 rather than -lruby20
Comment 4 Fredric Johansson 2014-04-06 19:34:04 UTC
The problem is in swig/ruby/Makefile.am:
geos_la_LIBADD =  $(top_builddir)/capi/libgeos_c.la -l$(RUBY_SO_NAME)
where on my system RUBY_SO_NAME gets set to libruby19.so.1.9.1

This is fixed upstream by changing it to this:
geos_la_LIBADD =  $(top_builddir)/capi/libgeos_c.la $(RUBY_SO_NAME)
Comment 5 Berthold Humkamp 2014-07-10 18:55:11 UTC
Hi all,
it isn't fixed upstream until now. I tried the daily snapshot.

@ Fredric Johansson: May you you put a patch online? I'm not familiar, how to create one!

Thanks,
timewulf
Comment 6 Aaron W. Swenson gentoo-dev 2014-11-05 12:29:27 UTC
*geos-3.4.2-r1 (05 Nov 2014)

  05 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org> -geos-3.3.8-r1.ebuild,
  -geos-3.4.2.ebuild, +geos-3.4.2-r1.ebuild, +files/3.4.2-ruby_so_name.patch:
  Fix bug 496408. Get value of RUBY_SO_NAME instead of LIBRUBY_SO. Remove old
  and broken versions.
Comment 7 Ben Kohler gentoo-dev 2015-01-29 21:10:23 UTC
Current stable still fails with this problem... looks like the patch should apply fine there, any chance to get it added, or should we just stablereq 1.4.2-r1?