FS#24508 - [octave] ld.so

Attached to Project: Arch Linux
Opened by orbisvicis (orbisvicis) - Monday, 30 May 2011, 20:09 GMT
Last edited by Ronald van Haren (pressh) - Friday, 01 July 2011, 16:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

octave libraries are not available for loading
. liboctinterp-3.4.0.so => not found
. liboctave-3.4.0.so => not found
. libcruft-3.4.0.so => not found

Most importantly it seems that mkoctfile (provided by octave) expects these libraries to be available since it does not set an rpath, as seen:
/usr/bin/mkoctfile -v -s -I. -I../../src/pfs/ -L../pfs/ -lpfs pfswrite.cpp -o pfswrite.oct
g++ -c -fPIC -I/usr/include/octave-3.4.0/octave/.. -I/usr/include/octave-3.4.0/octave -mieee-fp -I/usr/include/freetype2 -O3 -march=i686 -mtune=generic -pipe -I. -I../../src/pfs/ pfswrite.cpp -o pfswrite.o
g++ -shared -Wl,-Bsymbolic -o pfswrite.oct pfswrite.o -L../pfs/ -lpfs -L/usr/lib/octave-3.4.0 -loctinterp -loctave -lcruft -Wl,--hash-style=gnu -Wl,--as-needed -llapack -lblas -lfftw3 -lfftw3f -lm -L/usr/lib/gcc/i686-pc-linux-gnu/4.6.0 -L/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../.. -lgfortran -lm -lquadmath
strip pfswrite.oct
echo

Therefore, octave should provide an ld.so.conf.d/* file:

# add octave library path to ld.so.conf.d
install -d ${pkgdir}/etc/ld.so.conf.d
echo "/usr/lib/${pkgname}-${pkgver}" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf


Additional info:
* package version(s)
extra/octave 3.4.0-2
This task depends upon

Closed by  Ronald van Haren (pressh)
Friday, 01 July 2011, 16:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  added in trunk

Loading...