Page 1 of 1
Activating a module [SOLVED]
Posted: 08 Nov 2012, 17:06
by ppb222
I'm struggling to install GDB in Porteus. Following steps in the article "Understanding Module Creation and Manipulation: Two Case Studies" I have downloaded the GDB package with all dependencies, and converted them to Porteus modules, but I'm not able to run it:
guest@porteus:/mnt/sdb1/modules$ activate libreadline6-6.2-i386-1.xzm
guest@porteus:/mnt/sdb1/modules$ gdb
gdb: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Am I missing something?
Re: Activating a module
Posted: 08 Nov 2012, 17:26
by beny
Re: Activating a module
Posted: 08 Nov 2012, 18:42
by fanthom
@ppb222
does not sound like slackware package (slack has i486 arch as minimum) and is probably coming from other distro. please stick to packages from slackware-13.37 repo for porteus-1.x line if that's possible.
moreover:
Code: Select all
cannot open shared object file: No such file or directory
this line tells me that you are using 64bit edition (it would be handy if each user could fill in his profile with porteus arch/version he is using) so please use 64bit packages or setup multilib environment as per FAQ answer 9.
Cheers
Re: Activating a module
Posted: 10 Nov 2012, 09:49
by ppb222
Thank you, guys. I wasn't able to find the GDB package from PPM, that's why I had downloaded it from the Debian repository. Eventually I used Google to find the right Slackware package. I think that PPM should indicate somehow that Debian packages are "less compatible".
Re: Activating a module [SOLVED]
Posted: 10 Nov 2012, 22:07
by brokenman
Thanks. Will add a clearer message that debian packages are not fully supported in PPM. Support for debian is a work in progress (read headache) but it should slowly mature and become more useful.