Results 1 to 5 of 5

Thread: Loading library fails. Undefined Symbol! :(

  1. #1

    Default Loading library fails. Undefined Symbol! :(

    Hello Everyone.
    I would like to ask your kind help.
    This is the error I receive when I try to install a library.
    I really do not know If I could do something to skip this error message.

    As you might see below. I receive the following error message
    Error in dyn.load(file, DLLpath = DLLpath, ...) :
    unable to load shared library
    '/home/apa/R/x86_64-unknown-linux-gnu-library/2.11/RandomFields/libs/RandomFields.so':
    /usr/lib64/R/lib/libRlapack.so: undefined symbol: _gfortran_concat_string

    This is the full error log

    Bash | [CODE]* installing *source* - Anonymous - d4DH09Wx - Pastebin.com

    I would like to thank everyone in advance.

  2. #2
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Loading library fails. Undefined Symbol! :(

    The short (and mostly useless) answer is: you are missing some library to link with. As you compile from source there should be a README file stating the dependencies of your package.

    To make it a bit easier for those wanting to help: What is the package you are compiling here and where exactly did you get the source from?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  3. #3

    Default Re: Loading library fails. Undefined Symbol! :(

    Quote Originally Posted by vodoo View Post
    The short (and mostly useless) answer is: you are missing some library to link with. As you compile from source there should be a README file stating the dependencies of your package.

    To make it a bit easier for those wanting to help: What is the package you are compiling here and where exactly did you get the source from?

    Unfortunately there is no README file. I would like to install the
    http://cran.r-project.org/src/contri..._1.3.41.tar.gz

    in the R platform.
    the command to do this is install.package("RandomFields")
    the programe fetchs the source package and starts compiling as you can see on the pastebin link i posted above.

    I checked my packages using Yast and everything that has the word fortran is installed.

    Anything else that might help me?

    Best Regards
    Alex

  4. #4

    Default Re: Loading library fails. Undefined Symbol! :(

    Hmmm ... this is a good one ... I love a challange ...

    The first thing I would do is verify that the file "/home/apa/R/x86_64-unknown-linux-gnu-library/2.11/RandomFields/libs/RandomFields.so" actually exists. I can not discern from the output you posted what the build/install progam is actually doing; it does appear the the target of the build may be "/usr/local" instead of "/home/apa/R/....".

    An observation:

    Error in dyn.load(file, DLLpath = DLLpath, ...) :
    unable to load shared library '/home/apa/R/x86_64-unknown-linux-gnu-library/2.11/RandomFields/libs/RandomFields.so':
    /usr/lib64/R/lib/libRlapack.so: undefined symbol: _gfortran_concat_string

    The loader (or if the compile succeeded, RandomFields.so) appears to want a different version of libRlapack.so it is finding in /usr/lib64/R/.../...

    Did the package compile/copy/whatever a different libRlapack.so under /home/apa/... or /usr/local/.... ??? Should it be linking with a libRlapacks.so under /usr/lib/.../.... ???

    I hope you find something useful in my speculation .... best of luck ...

    cwight

  5. #5
    Carlos E. R. NNTP User

    Default Re: Loading library fails. Undefined Symbol! :(

    On 2010-08-02 10:36, alaios wrote:

    > Bash |
    > Code:
    > --------------------
    > * installing *source* - Anonymous - XXXXXXX - Pastebin.com (http://pastebin.com/d4DH09Wx)


    A comment.

    The word after the "Anonymous" above is the _password_ to your upload, by which we could alter or
    delete it. You are not suppose to post neither login nor password.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •