Comment 7 for bug 156524

Revision history for this message
shanki (shanki-na-s) wrote :

Hi JP,

I am using Ubuntu 7.10.
I have some .cc codes which I need to convert into .so in order to run them
from octave. While doing this, I discover that the current ubuntu version
does not have lgfortranbegin package. Below is the error messege.

mkoctfile --verbose resample2x.cc
/usr/bin/g++ -c -fPIC -I/usr/include/octave-2.1.73 -I/usr/include/octave-2.1.73/octave -mieee-fp -O2 resample2x.cc -o resample2x.o
/usr/bin/g++ -shared -Wl,-Bsymbolic -o resample2x.oct resample2x.o -L/usr/lib/octave-2.1.73 -loctinterp -loctave -lcruft -s -llapack-3 -lblas-3 -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm -L/usr/lib/gcc/i486-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -lhdf5 -lz -lgfortranbegin -lgfortran -lm
/usr/bin/ld: cannot find -lgfortranbegin
collect2: ld returned 1 exit status
make: *** [resample2x.oct] Error 1

I noticed that you had simiilar problem few months ago.
Did you find the solution to your problem?

Cheers
Shanki