help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error building Octave-3.6.3 on Fedora 16


From: Gökhan Sever
Subject: Re: Error building Octave-3.6.3 on Fedora 16
Date: Tue, 19 Feb 2013 22:08:15 -0700

Hi,

I tried with this:

./configure LIBS='-lz'

but again got that error. However ./configure --without-z builds it fine

not sure, how much it differs without z-lib used.

On Tue, Feb 19, 2013 at 9:17 PM, Sergei Steshenko <address@hidden> wrote:
>________________________________
> From: Gökhan Sever <address@hidden>
>To: address@hidden
>Sent: Wednesday, February 20, 2013 2:40 AM
>Subject: Error building Octave-3.6.3 on Fedora 16
>
>
>Hello,
>
>
>I am trying to build Octave 3.6.3 on my Fedora 16 loaded laptop. However, I can't seem to pass this error:
>
>
>./configure
>make
>
>
>rm -f DLD-FUNCTIONS/urlwrite.oct
>la=urlwrite.la && \
>  of=urlwrite.oct && \
>  cd DLD-FUNCTIONS && \
>  ln -s .libs/`/bin/sed -n -e "s/dlname='\([^']*\)'/\1/p" < $la` $of && \
>  touch .urlwrite.oct-stamp
>./.libs/liboctinterp.so: undefined reference to `gzgetc_'
>collect2: ld returned 1 exit status
>make[3]: *** [octave] Error 1
>make[3]: Leaving directory `/home/gsever/Downloads/octave-3.6.3/src'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory `/home/gsever/Downloads/octave-3.6.3/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/gsever/Downloads/octave-3.6.3'
>make: *** [all] Error 2
>
>
>
>
>Could someone help me to fix this build error? A Fedora 16 rpm or binary built would be useful, too.
>
>
>Thanks.
>
>
>PS: 
>$ uname -a
>Linux 3.6.10-2.fc16.x86_64 #1 SMP Tue Dec 11 18:55:03 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
>
>-- Gökhan
>_______________________________________________
>Help-octave mailing list
>address@hidden
>https://mailman.cae.wisc.edu/listinfo/help-octave



The

./.libs/liboctinterp.so: undefined reference to `gzgetc_'

error message indicates that 'ld' doesn't have 'libz' specified, i.e. add somehow (e.g. through LDFALS or the LIBS) '-lz' to 'configure' command line.

The symbol is defined in, for example. 'libz.so': (output from nm ~/AFSWD/install/zlib-1.2.7/lib/libz.so | less ) :

"

    164 00010020 T gzgetc
    165 000100b0 T gzgetc_
".

Regards,
  Sergei.




--
Gökhan
reply via email to

[Prev in Thread] Current Thread [Next in Thread]