Opened 6 years ago

Last modified 4 years ago

#44215 new defect

octave-signal: upfirdn.oct failure

Reported by: MacPorts@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: octave-signal

Description

To reproduce (and showing the results):

> sudo port uninstall --follow-dependents octave
> sudo port install octave-signal
> octave 
octave:1> test('resample')
...
!!!!! test failed
/opt/local/lib/octave/packages/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct: failed to load: dlopen(/opt/local/lib/octave/packages/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct, 2): Symbol not found: __Z13check_versionRKSsS0_
  Referenced from: /opt/local/lib/octave/packages/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct
  Expected in: /opt/local/lib/octave/3.6.4/liboctinterp.1.dylib
 in /opt/local/lib/octave/packages/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct
octave:2> exist('upfirdn')
error: caught execution error in library function
octave:2> exit
> uname -a
Darwin hostname.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
> port installed | grep octave
  octave @3.6.4_14+atlas+gcc48 (active)
  octave-control @2.6.0_0 (active)
  octave-general @1.3.2_0 (active)
  octave-signal @1.2.2_0 (active)
  octave-specfun @1.1.0_0 (active)

Change History (4)

comment:1 Changed 6 years ago by MacPorts@…

Cc: MacPorts@… added

Cc Me!

comment:2 Changed 6 years ago by ryandesign (Ryan Schmidt)

Cc: MacPorts@… removed
Keywords: upfirdn resample oct removed
Summary: upfirdn.oct failure in octave-signaloctave-signal: upfirdn.oct failure

comment:3 Changed 6 years ago by oliverks1@…

I am seeing the same problem. I see the file it is looking for on my machine in the following path

addpath( "/Users/oliverks/octave/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+" );

After adding the path, I get a different error:

octave:4> ys = resample( y, 10, 4 ); error: resample: /Users/oliverks/octave/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct: failed to load: dlopen(/Users/oliverks/octave/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct, 2): Library not loaded: /opt/local/lib/octave/3.6.4/liboctinterp.1.dylib

Referenced from: /Users/oliverks/octave/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct Reason: image not found

This makes sense, as I upgraded octave to 3.8.1 so it appears to be trying to load a dylib from an older version of octave.

One 3.8.1 I see the following dylibs:

/opt/local/lib/octave/3.8.1/liboctinterp.2.dylib
/opt/local/lib/octave/3.8.1/liboctinterp.dylib

Oliver

comment:4 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added
Note: See TracTickets for help on using tickets.