Re: Orocos Digest, Vol 20, Issue 4

"Klaas Gadeyne" <[email protected]> Thu, 26 Oct 2006 13:15:42 +0200
Newsgroups gmane.science.robotics.orocos.user
Message-ID <[email protected]>
> Message: 1
> Date: Wed, 25 Oct 2006 14:01:32 +0200
> From: Duccio Fioravanti <[email protected]>
> Subject: [Orocos] Install configtool with SUSE 10.0
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> Dear all,
> I'm trying to install Orocos on my laptop: i have on it SUSE release 10.0 .
> To reach this aim i have first to install eCos:
>
> 1- I have downloaded and tried  your eCos precompiled version from Orcos
> download page
>
> 2- I have made the symbolic link from /usr/lib/libtcl8.4.so
> to /usr/lib/libtcl.so
>
> 3-I have tried to run ./configtool but it gives me the following error:
> "/configtool: relocation error: ./configtool: symbol errno, version GLIBC_2.0
> not defined in file libc.so.6 with link time reference"nti
>
> I'd like to know how can i do to set eCos (if you have some suggestions or
> source to compile the application)

The configtool shipped with orocos hasn't been updated for 1007 days
(according to the svn history) now.  As the binary is shipped using (a
lot of) dynamic libraries [1], it should come as no surprise that this
generates a lot of segfaults using current linux distributions.

However, up-to-date versions of the tool can be downloaded from the
ecoscentric website.  Personally, I'm using such a version too without
any problems (my system is an up-to-date Debian testing). [2]

I could upload this version into trunk, but I think the only proper
way of shipping configtool with orocos across different linux distros
would be to use a version which is statically linked.

[1]
root@einstein:~/SVN/orocos-trunk/tools/bin #
  ldd ./configtool
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x4001e000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40151000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0
  (0x40187000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0
  (0x4018a000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4018d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401b3000)
        libdl.so.2 => /lib/libdl.so.2 (0x40205000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x40209000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x40211000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x4021f000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x402e5000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40309000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x4032a000)
        libm.so.6 => /lib/libm.so.6 (0x4037e000)
        libc.so.6 => /lib/libc.so.6 (0x403a2000)
        /lib/ld-linux.so.2 (0x40000000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x404bd000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x404c0000)
        libz.so.1 => /usr/lib/libz.so.1 (0x404c6000)


[2]
root@einstein:~/SVN/orocos-trunk/tools/bin #
  ./configtool --version
[4000 Th 13:01:37] Failed to change to /root/.eCosPlatforms from
  /root/SVN/orocos-trunk/tools/bin
[4000 Th 13:01:37] Failed to initialize any targets
eCos Configuration Tool (c) Red Hat, 2001 Version 2.0, May  9 2003
root@einstein:~/SVN/orocos-trunk/tools/bin #
  ./configtool_new --version
[4000 Th 13:01:44] Failed to change to /root/.eCosPlatforms from
  /root/SVN/orocos-trunk/tools/bin
[4000 Th 13:01:44] Failed to initialize any targets
eCos Configuration Tool (c) Red Hat, 2001 Version 2.net, May 23 2005