Skip to Content.
Sympa Menu

texmacs-users - Re: Texmacs for solaris 8

Subject: mailing-list for TeXmacs Users

List archive

Re: Texmacs for solaris 8


Chronological Thread 
  • From: Henri Lesourd <address@hidden>
  • To: address@hidden
  • Cc: address@hidden
  • Subject: Re: Texmacs for solaris 8
  • Date: Wed, 09 Feb 2005 15:49:47 +0100



Many thanks for your reply. I have followed your advice, however I am
getting the following error when I try to run texmacs...

ld.so.1: texmacs.bin: fatal: libguile.so.6: open failed: No such file or
directory

Here are the steps I did for installation...

1. Downloaded TeXmacs-1.0.3-static-sun.tar.gz, unzipped it with gunzip,
then did tar -xvf TeXmacs-1.0.3-static-sun.tar
in the /usr/local/bin directory.

This version is quite old (it dates back to last year).


2. Installed guile-1.6.7 & freetype-1.3.1 into /usr/local/bin ( did a
./configure, make & make install for both packages).

3. set environment variables as follows...
export TEXMACS_PATH=/usr/local/bin/TeXmacs-1.0.3-static-sun
echo $TEXMACS_PATH

4. Exported my display, then did texmacs &, however I just get the error
as described...
ld.so.1: texmacs.bin: fatal: libguile.so.6: open failed: No such file
or directory

Looks like it may be trying to use one of the guile libraries, but can't
find it.

It should be easy to find which libguile is installed on your machine. For example, on my machine,
the following commands :
[[
/home/henri>cd /usr/lib
/usr/lib>ls -l libguile.*
-rw-r--r-- 1 root root 967848 2004-04-06 03:54 libguile.a
-rwxr-xr-x 1 root root 872 2004-04-06 03:54 libguile.la
lrwxrwxrwx 1 root root 18 2004-11-01 15:41 libguile.so -> libguile.so.12.3.0
lrwxrwxrwx 1 root root 18 2004-11-01 15:41 libguile.so.12 -> libguile.so.12.3.0
-rwxr-xr-x 1 root root 770342 2004-04-06 03:54 libguile.so.12.3.0
/usr/lib>_
]]

give the output above. It should be noted that I don't have the libguile.so.6 lib file that the
version of TeXmacs you installed needs : my own is libguile.so.12. You are probably in
a similar situation. So you should check that you correctly installed Guile, and thus that
you have a libguile.so.xx file in /usr/lib. Then you could just create a link to this file. For
example, in my own case, I could do :
[[
/usr/lib>ln -s /usr/lib/libguile.so.12 libguile.so.6
]]

This way, the UNIX loader will find libguile.so.6, but in fact it will be libguile.so.12. It should
work, but it is not sure.

A much better way to fix the problem is to compile TeXmacs from the sources on your
machine. This way, the binary will automatically be tailored to the versions of the libraries
you have. To do this, you can get TeXmacs-1.0.4-R3-src.tar.gz (which is the last stable
version) or either a more recent one (TeXmacs-1.0.4.5-src.tar.gz, for example). Then,
unpack it, go into the src directory, and do :
.../TeXmacs-1.0.4-R3-src>./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
........................
checking for Guile... yes
checking version of guile... 1.6.3
checking how to run the C++ preprocessor... g++ -E
........................
checking for ft2build.h... yes
checking for freetype... yes
checking for gettimeofday... yes
........................
........................
config.status: creating TeXmacs/examples/plugins/dynlink/Makefile
.../TeXmacs-1.0.4-R3-src>make
........................
........................
.../TeXmacs-1.0.4-R3-src>make install
........................
........................
.../TeXmacs-1.0.4-R3-src>_

As you can see on the output above, the 'configure' script checks for a --lot-- of things, this is why
this approach is much better : either 'configure' works, and chances are that 'make' works without
problems, or 'configure' doesn't work, and you have a very detailed account of why it is so.

It should be noted, too, that there is a --prefix option that can be used with 'configure', in order to
change the directory where the TeXmacs binaries are installed when you do 'make install' (the
default should be /usr/bin, or something like that).

For more detailed information about compiling TeXmacs from the sources, look into the file
COMPILE.



  • Re: Texmacs for solaris 8, Henri Lesourd, 02/07/2005
    • <Possible follow-up(s)>
    • Re: Texmacs for solaris 8, Henri Lesourd, 02/09/2005

Archive powered by MHonArc 2.6.19.

Top of Page