WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: GNS3 or dynagen on tinycore  (Read 3853 times)

Offline Darro

  • Newbie
  • *
  • Posts: 4
GNS3 or dynagen on tinycore
« on: February 04, 2013, 06:13:36 AM »
hey all ,
 i have searched high and low .. and i cannot find this .. is it possible to run gns3 ( not graphical but command line , dynagen ) on tinycore ?
there are a ton of web pages on how to use tinycore as a guest/host on gns3 ..but i am trying to create a machine with dynagen installed in it

any help appreciated.

thanx all

Offline Darro

  • Newbie
  • *
  • Posts: 4
Re: GNS3 or dynagen on tinycore
« Reply #1 on: February 04, 2013, 07:53:51 AM »
ok got the dynagen to work
but cannot for the dynamips
tc@box:~$ ./dynamips
./dynamips: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./dynamips)


libc.so.6 is pointing to /lib/libc-2.13.so
and i need it to point to ( copied over ) /lib/libc-2.15.so


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: GNS3 or dynagen on tinycore
« Reply #2 on: February 04, 2013, 08:07:54 AM »
Where does the binary originate from?
Some other system? Or binary distribution by manufacturer?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: GNS3 or dynagen on tinycore
« Reply #3 on: February 04, 2013, 08:29:38 AM »
Hi Darro
Maybe:
Code: [Select]
LD_PRELOAD=/lib/libc-2.15.so ./dynamips

Offline Darro

  • Newbie
  • *
  • Posts: 4
Re: GNS3 or dynagen on tinycore
« Reply #4 on: February 04, 2013, 08:51:05 AM »
thanx .. i will give it shot rich
tinypoodle its from ubuntu 12.10
i am hoping i can run it

looked into compiling for tinycore and got the setup going but gave up after missing a lot of header files
followed this
https://github.com/puppetlabs/Razor-Microkernel/wiki/Building-your-own-TCL-Extension


Offline Darro

  • Newbie
  • *
  • Posts: 4
Re: GNS3 or dynagen on tinycore
« Reply #5 on: February 04, 2013, 09:05:15 AM »
tc@box:~$ LD_PRELOAD=/lib/libc-2.15.so ./dynamips
Segmentation fault


:(

i REALLY wanted to make this work ..any suggestions .. tinycore is so light weight would have been perfect for my project

thanx guys

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: GNS3 or dynagen on tinycore
« Reply #6 on: February 04, 2013, 09:29:23 AM »
Hi Darro
I guess the first thing I would do is run:
Code: [Select]
ldd ./dynamipsto see if any other libraries are missing or the wrong versions.
You might have to create a self contained package, like an SCM. I think they use something like:
Code: [Select]
export LD_LIBRARY_PATH=/Path/To/SCM/Libsto force a package to use a different set of libraries. It's also possible that dynamips can't be set up to run without
installing a newer libc for the system library, I don't know.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: GNS3 or dynagen on tinycore
« Reply #7 on: February 04, 2013, 09:45:31 AM »
Well, if you must cherry pick dynamically linked binaries compiled for a different system and it turns out they require a newer libc version, then the logical thing would be to look for older binary versions being compatible with the target system.

That said, you have nothing to lose to post an extension request in the appropriate subforum   ;)
« Last Edit: February 04, 2013, 09:48:56 AM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)