gapan wrote:Papasot wrote:or I am missing something here?
Do you have multilib installed? If you do, then you should know that you should be expecting such problems. Multilib is not supported by SBo, or Salix in any way. If you have a pure 64bit installation, there should never be any executables or libraries in /usr/lib.
Definitely no.
Yes, I am aware of the multilib issues, and I never asked for multilib in all my Salix installations. The following directories are however present in /usr/lib:
ConsoleKit,
siconv,
udisks2 (on one of my computers additional directories are there, but that's because of the Radeon proprietary graphics driver installed, which also installs 32-bit compatibility libraries without asking me). Now,
ConsoleKit contains shell scripts, and
udisks2 contains an executable (presumably a daemon script?), which seems to be 64-bit:
Code: Select all
pap[udisks2]$ file udisksd
udisksd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped
but it's still in /usr/lib, not /usr/lib64.
laprjns wrote:I just built maxima on a clean install of Salix64 and the only dependency that it needed was clisp. It built and worked (as far as i can tell) without scbl installed.
Yes, maxima builds perfectly with clisp, but I tried to use sbcl instead, because clisp uses object code while sbcl has a more aggressive compiler, thus it should be faster - which is crucial for Computer Algebra Systems like maxima. I am supposed to have that choice, and even maxima developers recommend sbcl instead of clisp. Indeed, it works fine with sbcl, except that the SBo installation script assumes sbcl is in /usr/lib instaed of /usr/lib64.
laprjns wrote:Also the maxima slackbuild script has all the logic to put the libraries in the appropriate directory based on the architecture of the build machine.
That explains the fact the SBo looks for sbcl in /usr/lib. I guess the SBo was built on a 32-bit system, so in that particular case it is safe to use a symlink of sbcl on /usr/lib as a workaround. Alternatively, I could modify the SBo.
ps to laprjns: By adding clisp as a dependency, you are forcing users to use clisp while sbcl is also a choice and, at least from what I know by discussing the issue in the maxima mailing lists, most maxima devs use sbcl and openly recommend it. For TeX/LaTeX, use Texlive netinstall; tetex is very old and no longer maintained. SBo's Texlive never worked for me too, better use the netinstall instead, which works perfectly. See
that gapan's post and discussion there for more details.