help-octave
[Top][All Lists]
Advanced

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

Re: I think I "broke" mkoctfile for 3.4.1


From: Muhali
Subject: Re: I think I "broke" mkoctfile for 3.4.1
Date: Fri, 2 Dec 2011 20:25:15 -0800 (PST)

This is in response to Jordi's post on the maintainer list here:

http://octave.1599824.n4.nabble.com/I-think-I-broke-mkoctfile-for-3-4-1-tp3608378p3608378.html

Is this the same reason why I can no longer install the octcdf package from
forge? - By doing

pkg install -forge -verbose octcdf

and calling the netcdf function I get

undefined symbol: nc_put_att_double

In the last step of the installation (see attached),

LIBS="..." mkoctfile ...

the LIBS prefix does not seem to have any effect. If I append all the LIBS
entries directly to the subsequent g++ command, all libraries are recognized
and everything works.

M.


octave:6> pkg install -noauto -nodeps -forge -global -verbose octcdf
mkdir (/tmp/oct-JtdStp)
untar (/root/octcdf-1.1.2.tar.gz, /tmp/oct-JtdStp)
[...]
LIBS="-lm -L/usr/local/lib -lnc-dap -ldapclient -lcurl -lidn -llber -lldap
-lrt -lgssapi_krb5 -lgcrypt -lrtmp -lgnutls -ldap -lpthread -lxml2 -lz -lm   
" /usr/local/bin/mkoctfile-3.5.0+ -DHAVE_OCTAVE_ -v -o netcdf.oct
-I/usr/local/include/libnc-dap -DHAVE_OCTAVE_INT ov-netcdf.o ov-ncfile.o
ov-ncvar.o ov-ncatt.o ov-ncdim.o
g++ -shared -Wl,-Bsymbolic -o netcdf.oct ov-netcdf.o ov-ncfile.o ov-ncvar.o
ov-ncatt.o ov-ncdim.o -L/usr/local/lib/octave/3.5.0+ -L/usr/local/lib
-loctinterp -loctave -lcruft
make: Leaving directory `/tmp/oct-JtdStp/octcdf/src'
copyfile /tmp/oct-JtdStp/octcdf/src/netcdf.oct
/tmp/oct-JtdStp/octcdf/inst/x86_64-unknown-linux-gnu-api-v45+
octave:7> 

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Re-I-think-I-broke-mkoctfile-for-3-4-1-tp4152235p4152235.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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