Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-289

Madpack installation fails for Postgres

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      I am running PostgreSQL 9.1.1 and the development branch (master) of MADlib on Suse Linux 11.14 with Python 2.7. Building and installation go smoothly until I try run ./madpack -p postgres install, at which point I run into this error:

      madpack.py : INFO : > ... executing /tmp/madlib.UE01V9/array_ops/array_ops.sql_in.tmp
      madpack.py : ERROR : Failed executing /tmp/madlib.UE01V9/array_ops/array_ops.sql_in.tmp
      madpack.py : ERROR : Check the log at /tmp/madlib.UE01V9/array_ops/array_ops.sql_in.log
      

      The log file says:

      CREATE OR REPLACE FUNCTION madlib.array_add(x anyarray, y anyarray)
      RETURNS anyarray
      AS '/home/accts/ah59/Desktop/madlib/ports/postgres/lib/
      libmadlib_postgres.so', 'array_add'
      LANGUAGE C IMMUTABLE;
      psql:/tmp/madlib.UE01V9/array_ops/array_ops.sql_in.tmp:45: ERROR: could not load library "/home/accts/ah59/Desktop/madlib/ports/postgres/lib/libmadlib_postgres.so": /home/accts/ah59/Desktop/madlib/ports/postgres/lib/libmadlib_postgres.so: undefined symbol: cgemv_
      

      I have tried installing the 0.2.1beta release of MADlib as well and have tried PostgreSQL 9.0.6., but I still run into the same problem.

      Any ideas on how to solve this problem? It seems to be something wrong with the libmadlib_postgres.so code and not a problem with dependencies.

      Attachments

        Activity

          People

            fschopp Florian Schoppmann
            erwaman Anthony Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: