libraries are not properly loaded in etc/SIVP.start

Bug #879097 reported by Jasa Bartelj
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
sivp (Debian)
Fix Released
Unknown
sivp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello.

This script etc/SIVP.start is seriously misconfigured.

It looks for libs in it's own subdirectory which doesn't even exist. There should either be symlinks there or the script should be patched. Also the hard-coded lib versions are too low.

Starting from line 80, these are the lines that make SIVP even load in Scilab:

    opencvlibs = "/usr/lib";

    if ARCH == "32" then
        link(opencvlibs+"/libgsm.so.1");
    end

    link(opencvlibs+"/libavutil.so.50");
    link(opencvlibs+"/libavcodec.so.52");
    link(opencvlibs+"/libavformat.so.52");
    link(opencvlibs+"/libcxcore.so.2.1");
    link(opencvlibs+"/libcv.so.2.1");
    link(opencvlibs+"/libcvaux.so.2.1");
    link(opencvlibs+"/libdc1394.so.22");
    link(opencvlibs+"/libswscale.so.0");
    link(opencvlibs+"/libhighgui.so.2.1");
    link(opencvlibs+"/libml.so.2.1");

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
$ apt-cache show scilab-sivp|grep Version
Version: 0.5.3-2

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sivp (Ubuntu):
status: New → Confirmed
Revision history for this message
Adas Trojnar (trojnaradam) wrote :

i've got same problem ;/

Changed in sivp (Ubuntu):
assignee: nobody → Adas Trojnar (trojnaradam)
Revision history for this message
Gergely Gombos (gombosg) wrote :

Also. Ubuntu 11.10.
I had to manually edit etc/SIVP.start to match available /usr/lib libraries, and to make the search path /usr/lib. Now it works...

Revision history for this message
Vibhav Pant (vibhavp) wrote :

@gombosg: can you please give us the edited etc/SIVP.start?

Vibhav Pant (vibhavp)
Changed in sivp (Ubuntu):
assignee: Adas Trojnar (trojnaradam) → Vibhav Pant (vibhavp)
Julian Taylor (jtaylor)
Changed in sivp (Ubuntu):
assignee: Vibhav Pant (vibhavp) → nobody
Changed in sivp (Debian):
status: Unknown → New
Changed in sivp (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sivp - 0.5.3+svn287-2

---------------
sivp (0.5.3+svn287-2) unstable; urgency=low

  * Limit the architecture supported to:
    amd64 armel armhf i386 ia64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 mipsel

 -- Sylvestre Ledru <email address hidden> Fri, 22 Jun 2012 19:04:36 +0200

Changed in sivp (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.