[M3devel] Can't load dynamically linked m3bundle

Rodney M. Bates rodney.bates at wichita.edu
Sun May 27 18:23:51 CEST 2007


While trying to bootstrap CM3, I get this:

-----------------------------------------------------------------------------------------------------
rodney at runnymede:/usr/local/cm3/bin$ ls -l m3bundle
-rwxr-xr-x 1 rodney rodney 1438195 May 26 17:11 m3bundle
rodney at runnymede:/usr/local/cm3/bin$ file m3bundle
m3bundle: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically 
linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
rodney at runnymede:/usr/local/cm3/bin$ ./m3bundle
-bash: ./m3bundle: No such file or directory
rodney at runnymede:/usr/local/cm3/bin$ ldd m3bundle
/usr/bin/ldd: line 125: ./m3bundle: No such file or directory
rodney at runnymede:/usr/local/cm3/bin$ cat /etc/issue
Mandriva Linux release 2007.0 (Cooker) for i586
Kernel 2.6.17-5mdv on an i686 / \l
rodney at runnymede:/usr/local/cm3/bin$
------------------------------------------------------------------------------------------------------

On an earlier Mandriva release, m3bundle turns out statically linked.  In both cases,
the m3makefile for m3bundle contains 'build_standalone ( )'.

------------------------------------------------------------------------------------------------------
[rodney at selkirk bin]$ pwd
/usr/local/cm3/bin
[rodney at selkirk bin]$ file m3bundle
m3bundle: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, statically 
linked, not stripped
[rodney at selkirk bin]$ cat /etc/issue
Mandrakelinux release 10.2 (Limited Edition 2005) for i586
Kernel 2.6.11-6mdk on an i686 / \l
[rodney at selkirk bin]$
------------------------------------------------------------------------------------------------------

I am guessing that there is some dynamic library that m3bundle wants that I don't have
installed, but how can I find it?  'objdump -T m3bundle' gives a lot of entries, the
most interesting ones naming GCC_3.0.  The system where it fails has gcc 4.1.1 installed.
I tried temporarily putting in a copy of libgcc_s-3.4.3.so.1 and making libgcc_s.so.1 a
symbolic link to it, but to no avail.


-- 
-------------------------------------------------------------
Rodney M. Bates, retired assistant professor
Dept. of Computer Science, Wichita State University
Wichita, KS 67260-0083
316-978-3922
rodney.bates at wichita.edu



More information about the M3devel mailing list