[Top][All Lists]

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

Re: octave 2.9.10 pkg and FreeBSD

From: sam sirlin
Subject: Re: octave 2.9.10 pkg and FreeBSD
Date: Sun, 08 Apr 2007 21:00:05 -0700
User-agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.13) Gecko/20070121

John W. Eaton wrote:

On  6-Apr-2007, sam sirlin wrote:
| - need to add a few -R/usr/local/lib/octave-2.9.10 in Makeconf

Why?  For what rules?
I've been doing this for some time with octave; everywhere I see a -L I add a -R.

Apparently this is also a lib compile issue. I see octave is compiled with the appropriate -rpath, but{sam} > ldd /usr/local/bin/octave
/usr/local/bin/octave: => /usr/local/lib/octave-2.9.10/ (0x800633000) => /usr/local/lib/octave-2.9.10/ (0x8010d7000) => /usr/local/lib/octave-2.9.10/ (0x8017be000) => /usr/local/lib/ (0x80191e000) => /usr/local/lib/ (0x801ac4000) => /usr/local/lib/ (0x801bcb000) => /usr/local/lib/ (0x801cd3000) => /usr/local/lib/ (0x801dd9000) => /usr/local/lib/ (0x801faf000) => /usr/local/lib/ (0x8020eb000) => /usr/local/lib/ (0x8021f4000) => /usr/local/lib/ (0x80231b000) => /usr/local/lib/ (0x802924000) => /usr/local/lib/ (0x802a46000) => /usr/local/lib/ (0x802b67000) => /usr/local/lib/ (0x8033e1000) => /lib/ (0x8035ed000) => /lib/ (0x803729000) => /lib/ (0x803884000) => /usr/local/lib/gcc-4.2.0/ (0x803998000) => /lib/ (0x803b4c000) => /usr/local/lib/gcc-4.2.0/ (0x803c6c000) => /usr/local/lib/gcc-4.2.0/ (0x803e66000) => /lib/ (0x803f73000) => not found (0x0) => not found (0x0)

so liboctave and libcruft are both found and not found. This is apparently due to them being required by liboctinterp:{sam} > ldd /usr/local/lib/octave-2.9.10/
/usr/local/lib/octave-2.9.10/ => not found (0x0) => not found (0x0) => /lib/ (0x8012f2000) => /lib/ (0x80142e000) => /lib/ (0x801589000) => /usr/local/lib/gcc-4.2.0/ (0x80169d000) => /lib/ (0x801851000) => /usr/local/lib/gcc-4.2.0/ (0x801971000) => /usr/local/lib/gcc-4.2.0/ (0x801b6b000) => /lib/ (0x800634000)

since the libs are not compiled with -rpath...

Changing the src/Makefile:
# sws test
#$(LIBPRE)octinterp.$(SHLEXT): $(PICOBJ) $(PIC_XERBLA)
#    rm -f $@
   rm -f $@

This fixes the above, but then starting octave produces:

error: Shared object "" not found, required by "find.oct"
error: `find' undefined near line 76 column 9

so the .oct files also need the rpath as well. So in Makeconf again:

This seems to do it. Every time there's a link, some oses need -R or -rpath help.

| Now trying to add the octave forge packages is more messy

Please report these problems to the Octave Forge bug reporting list.


Also, bug reports for Octave really should go to the address@hidden

reply via email to

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