How to tell which additional libraries are needed?

Using applications, configuring, problems
Post Reply
Message
Author
Nevermore
Posts: 366
Joined: Sat 26 Nov 2005, 14:23
Location: Italy

How to tell which additional libraries are needed?

#1 Post by Nevermore »

I need to run a montecarlo analisys program on puppy, but it requires libg2c0, libc6, gcc-3.4-base, libpvm and maybe other ones..
i can't see how many libs are still needed since when i start the program it gets killed...
i really wish to make it work under puppy it would be great if it does work!!
this is part of what i need http://packages.debian.org/unstable/libs/libg2c0
--
/sbin/Nevermore

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

http://dotpups.de/dotpups/Office/R/libg2c.so.pup
http://dotpups.de/dotpups/Libraries/libstdc6.pup

The others you would have to extract with "undeb" from the Dotpups-Wiki.

Mark

Nevermore
Posts: 366
Joined: Sat 26 Nov 2005, 14:23
Location: Italy

#3 Post by Nevermore »

unfortunately when i try to run the executable i just get a "killed" answer..
is there any way i can see what kills the program?
like a debugger or something like that?
--
/sbin/Nevermore

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

No,but you can check the dependencies with

ldd /usr/wherever/yourprogram

Mark

Nevermore
Posts: 366
Joined: Sat 26 Nov 2005, 14:23
Location: Italy

#5 Post by Nevermore »

MU wrote:No,but you can check the dependencies with

ldd /usr/wherever/yourprogram

Mark
when i issue the command with the path i used for my proggie (/mnt/home/mon/proggie) i get this error:
$ not a dynamic executable
what does it means?
thanks
--
/sbin/Nevermore

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

Then it is a script or packed with upx.
Try to open it in an editor,to see if it is a script.
That might call a binary file, that you can "ldd".
Or run
file /wherever/theprog to get info on it.

Mark

Nevermore
Posts: 366
Joined: Sat 26 Nov 2005, 14:23
Location: Italy

#7 Post by Nevermore »

hello
thanks for your help
is not a script, the file editor doesn't let me see much..
however file gave me an interesting output:

ELF 32-bit LSB executable, Interl 80386, version 1 (SYSV) for GNU/linux 2.2.5, dynamically linked (uses shared libs), not stripped

i don't understand much, but i saw that uses dynamically linked libs, so why ldd didn't give an output?
:D
--
/sbin/Nevermore

Nevermore
Posts: 366
Joined: Sat 26 Nov 2005, 14:23
Location: Italy

#8 Post by Nevermore »

hello
from further investigation seems it requests g77 libs also...
--
/sbin/Nevermore

Post Reply