[rkward-tracker] [ rkward-Bugs-1482468 ] build error on 0.3.6 cannot find -lRlapack

SourceForge.net noreply at sourceforge.net
Fri May 5 13:11:56 UTC 2006


Bugs item #1482468, was opened at 2006-05-05 08:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=1482468&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Peterson (braverock)
Assigned to: Nobody/Anonymous (nobody)
Summary: build error on 0.3.6 cannot find -lRlapack

Initial Comment:
I've successfu0lly built and used rkward-0.3.5.  I was
trying to create a Gentoo ebuild package file for
rkward 0.3.6 so that upgrades would be easier, and
distribution of rkward would be greater.  From both the
ebuild and from trying to build from a shell, the build
fails with the following:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -O2 -O2
-march=pentium3 -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common  -c -o rkward_skel.o `test
-f 'rkward_skel.cpp' || echo './'`rkward_skel.cpp
/bin/sh ../libtool --silent --mode=link --tag=CXX
i686-pc-linux-gnu-g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -O2 -O2
-march=pentium3 -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common    -o rkward.bin -L/usr/lib
-L/usr/qt/3/lib -L/usr/kde/3.5/lib  -R /usr/kde/3.5/lib
-R /usr/qt/3/lib -R /usr/lib rkwatch.o rkward.o main.o
rkglobals.o robjectbrowser.o rkeditormanager.o
robjectviewer.o khelpdlg.o rkconsole.o rkward_skel.o
../rkward/windows/libwindows.a
../rkward/agents/libagents.a
../rkward/dialogs/libdialogs.a
../rkward/plugin/libplugin.a
../rkward/settings/libsettings.a
../rkward/dataeditor/libdataeditor.a
../rkward/core/libcore.a
../rkward/rbackend/librbackend.a
../rkward/scriptbackends/libscriptbackends.a
../rkward/misc/libmisc.a -lkhtml -lkmdi -lkio -lkdeui
-lkdecore -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM
-lICE -lpthread  -L/usr/lib/R/lib -lR -lRlapack
-lkatepartinterfaces
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lRlapack
collect2: ld returned 1 exit status
make[3]: *** [rkward.bin] Error 1

I think that lib Rlapack is missing.  I'm wondering if
this is something configured wrong in the build
configuration. 

I'm using R-2.2.1 with blas and lapack support compiled in.

I'm using lapack-3.0, and blas-19980702-r2.

When I look for lapack libraries that could be linked
with rkward, I see:

/usr/lib/R/modules/lapack.so
/usr/lib/liblapack.a
/usr/lib/lapack
/usr/lib/lapack/atlas
/usr/lib/lapack/atlas/liblapack.so.0
/usr/lib/lapack/atlas/liblapack.so.0.0.0
/usr/lib/lapack/atlas/liblapack.so
/usr/lib/lapack/atlas/liblapack.la
/usr/lib/lapack/atlas/liblapack.a
/usr/lib/lapack/current
/usr/lib/lapack/f77-ATLAS
/usr/lib/liblapack.so
/usr/lib/liblapack.so.0

So, I suspect that rkward probably needs 
/usr/lib/R/modules/lapack.so (what else could Rlapack
be?).  I tried a symbolic link from 
sudo ln -s /usr/lib/R/modules/lapack.so
/usr/lib/Rlapack.so 
but that didn't do it.

I'll try to look deeper into the code at issue, but any
assistance would be appreciated.

Regards,

   - Brian Peterson



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=1482468&group_id=50231




More information about the rkward-tracker mailing list