Bugs: Browse | Submit New | Admin

[#29438] Installation fails for make with many undefined reference to `cNArray' errors

Date:
2011-11-29 09:46
Priority:
3
Submitted By:
daid kahl (daid)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Installation fails for make with many undefined reference to `cNArray' errors

Detailed description
I cannot manage to successfully install rb-gsl from gems.

System is Gentoo Linux on x86 architecture.  Full system should be current at least to April 2011 (but many updates
since then, so somewhat more current).

ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]

gsl-config is working fine, and version is 1.14.  No obvious problems I can see with the libs or cflags.  It's possible
I am missing an important flag, but Gentoo's portage does not offer many flags for this package.

The latest ruby-gsl wrapper is installed, version 0.2.0 (http://ruby-gsl.sourceforge.net/)

Also tried with ruby 1.9.3 (ruby is slotted here), but the results seem basically the same (although in that case I
don't have the ruby-gsl wrapper, since it is not ported to ruby 1.9 as far as I can see, and gave build errors if this
was enforced).

I expect this is a simple dependency issue, or some linking error, but after a number of hours I can't fix it myself,
or find anyone with a similar-enough problem that gave a solution.

The nearest similar build-fail I find is listed here (https://gist.github.com/754414) but I can't find any relevant
references to the dump and if/how the problem was solved (although it is one year old).

Build command was simply gem install gsl (but I also tried the manual version as per the documentation, but the result
is identical).

Build log is attached.  Can you help me please?

Add A Comment: Notepad

Please login


Followup

Message
Date: 2012-10-24 19:44
Sender: S D

Hi Daid -- I had a similar problem; I do not have a complete
solution, but here is some more info that helped me get it working:
http://rubyforge.org/forum/forum.php?thread_id=51217&forum_id
=1225
Date: 2011-11-29 09:53
Sender: daid kahl

gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3

If it's useful to know...

Attached Files:

Name Description Download
rb-gsl.log build log Download

Changes:

Field Old Value Date By
File Added5314: rb-gsl.log2011-11-29 09:46daid