Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Fixed
    • Affects Version/s: 4.4.0 GA (4.8.0 GA Suite Release)
    • Component/s: None
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Operating System/s:
      Ubuntu 12.x (32-bit)

      Description

      When running Instaview on 32-bit Linux after a successful install, MonetDB fails to start. The following is logged:
      ------------
      {ERROR 16-10 10:09:49,397 - /home/pminutillo/pentaho/monetdb/bin/monetdbd: error while loading shared libraries: libstream.so.3: cannot open shared object file: No such file or directory
      /home/pminutillo/pentaho/monetdb/bin/monetdbd: error while loading shared libraries: libstream.so.3: cannot open shared object file: No such file or directory
      ------------

      The error does not occur on 64-bit Linux install. The contents of /pentaho/monetdb/bin are different between the 32-bit and 64-bit versions after a clean install:

      32-bit Linux /pentaho/monetdb/bin:
      ------------
      pminutillo@test-VirtualBox:~/pentaho/monetdb/bin$ ls -al
      total 872
      drwxr-xr-x 2 pminutillo pminutillo 4096 Oct 16 10:05 .
      drwxr-xr-x 9 pminutillo pminutillo 4096 Oct 16 10:05 ..
      lrwxrwxrwx 1 pminutillo pminutillo 8 Oct 16 10:05 Mapprove.py -> Mtest.py
      -rwxr-xr-x 1 pminutillo pminutillo 109897 Oct 15 16:15 mclient
      -rwxr-xr-x 1 pminutillo pminutillo 37067 Oct 15 16:15 Mdiff
      -rwxr-xr-x 1 pminutillo pminutillo 13369 Oct 15 16:15 Mfilter.py
      -rwxr-xr-x 1 pminutillo pminutillo 6453 Oct 15 16:15 MkillUsers
      -rwxr-xr-x 1 pminutillo pminutillo 1493 Oct 15 16:15 Mlog
      -rwxr-xr-x 1 pminutillo pminutillo 18173 Oct 15 16:15 mnc
      -rwxr-xr-x 1 pminutillo pminutillo 85323 Oct 15 16:15 monetdb
      -rwxr-xr-x 1 pminutillo pminutillo 162233 Oct 15 16:15 monetdbd
      -rwxr-xr-x 1 pminutillo pminutillo 30267 Oct 15 16:15 mserver5
      -rwxr-xr-x 1 pminutillo pminutillo 57233 Oct 15 16:15 msqldump
      -rwxr-xr-x 1 pminutillo pminutillo 154171 Oct 15 16:15 Mtest.py
      -rwxr-xr-x 1 pminutillo pminutillo 15544 Oct 15 16:15 Mtimeout
      -rwxr-xr-x 1 pminutillo pminutillo 16789 Oct 15 16:15 sample0
      -rwxr-xr-x 1 pminutillo pminutillo 16854 Oct 15 16:15 sample1
      -rwxr-xr-x 1 pminutillo pminutillo 16597 Oct 15 16:15 sample2
      -rwxr-xr-x 1 pminutillo pminutillo 17466 Oct 15 16:15 sample3
      -rwxr-xr-x 1 pminutillo pminutillo 17106 Oct 15 16:15 sample4
      -rwxr-xr-x 1 pminutillo pminutillo 15193 Oct 15 16:15 smack00
      -rwxr-xr-x 1 pminutillo pminutillo 15264 Oct 15 16:15 smack01
      -rwxr-xr-x 1 pminutillo pminutillo 591 Oct 15 16:15 sqlsample.php
      -rwxr-xr-x 1 pminutillo pminutillo 1587 Oct 15 16:15 sqlsample.py
      -rwxr-xr-x 1 pminutillo pminutillo 25381 Oct 15 16:15 stethoscope
      ------------

      64-bit Linux /pentaho/monetdb/bin:
      ------------
      pminutillo@pminutillo-Latitude-E6530:~/pentaho/monetdb/bin$ ls -al
      total 36
      drwxr-xr-x 2 pminutillo pminutillo 4096 Oct 15 16:19 .
      drwxr-xr-x 11 pminutillo pminutillo 4096 Oct 15 16:19 ..
      -rwxr-xr-x 1 pminutillo pminutillo 113 Oct 15 16:19 mclient
      -rwxr-xr-x 1 pminutillo pminutillo 109 Oct 15 16:19 mnc
      -rwxr-xr-x 1 pminutillo pminutillo 113 Oct 15 16:19 monetdb
      -rwxr-xr-x 1 pminutillo pminutillo 114 Oct 15 16:19 monetdbd
      -rwxr-xr-x 1 pminutillo pminutillo 114 Oct 15 16:19 mserver5
      -rwxr-xr-x 1 pminutillo pminutillo 114 Oct 15 16:19 msqldump
      -rwxr-xr-x 1 pminutillo pminutillo 117 Oct 15 16:19 stethoscope
      ------------

      On 64-bit Linux, /pentaho/monetdb/mserver5 is a shell script. /pentaho/scripts/setenv.sh sets the shared library path to include the monetdb libs. On 32-bit, mserver5 is a binary and does not call the script to set the shared library path.

      64-bit Linux /pentaho/monetdb/mserver5:
      ------------
      pminutillo@pminutillo-Latitude-E6530:~/pentaho/monetdb/bin$ file mserver5
      mserver5: POSIX shell script, ASCII text executable

      pminutillo@pminutillo-Latitude-E6530:~/pentaho/monetdb/bin$ cat mserver5
      #!/bin/sh

      . /home/pminutillo/pentaho/scripts/setenv.sh

      exec /home/pminutillo/pentaho/monetdb/.bin/mserver5 "$@"
      ------------

      32-bit Linux /pentaho/monetdb/mserver5:
      ------------
      pminutillo@test-VirtualBox:~/pentaho/monetdb/bin$ file mserver5
      mserver5: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

      pminutillo@test-VirtualBox:~/pentaho/monetdb/bin$ ldd mserver5
      linux-gate.so.1 => (0xb7784000)
      libmonetdb5.so.12 => not found
      libbat.so.6 => not found
      libmapi.so.6 => not found
      libcrypt.so.1 => /lib/i386-linux-gnu/libcrypt.so.1 (0xb7740000)
      libreadline.so.5 => not found
      libxml2.so.2 => /usr/lib/i386-linux-gnu/libxml2.so.2 (0xb75f3000)
      libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb75d8000)
      libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb75c1000)
      libstream.so.3 => not found
      libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7595000)
      libpcre.so.1 => not found
      libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb753f000)
      libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xb7393000)
      libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb738e000)
      libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb71e4000)
      /lib/ld-linux.so.2 (0xb7785000)

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

        Activity

        Hide
        pminutillo Peter Minutillo added a comment -

        After Ramaiz added a fix and created a new build, MonetDB starts and Instaview functions as expected.

        Show
        pminutillo Peter Minutillo added a comment - After Ramaiz added a fix and created a new build, MonetDB starts and Instaview functions as expected.
        Hide
        sflatley Sean Flatley (Inactive) added a comment -

        Validating.

        Show
        sflatley Sean Flatley (Inactive) added a comment - Validating.
        Hide
        sflatley Sean Flatley (Inactive) added a comment -

        Validated with 32 PDI linux installer built on October 21. I was able to visualize the customer-100.txt file.

        Show
        sflatley Sean Flatley (Inactive) added a comment - Validated with 32 PDI linux installer built on October 21. I was able to visualize the customer-100.txt file.

          People

          • Assignee:
            sflatley Sean Flatley (Inactive)
            Reporter:
            pminutillo Peter Minutillo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: