Activating a module [SOLVED]

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
ppb222
White ninja
White ninja
Posts: 6
Joined: 03 Nov 2012, 07:53
Location: Poland

Activating a module [SOLVED]

Post#1 by ppb222 » 08 Nov 2012, 17:06

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?
Last edited by ppb222 on 10 Nov 2012, 09:50, edited 1 time in total.

beny
Full of knowledge
Full of knowledge
Posts: 724
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Activating a module

Post#2 by beny » 08 Nov 2012, 17:26


User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Activating a module

Post#3 by fanthom » 08 Nov 2012, 18:42

@ppb222

Code: Select all

libreadline6-6.2-i386-1.xzm
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
Please add [Solved] to your thread title if the solution was found.

ppb222
White ninja
White ninja
Posts: 6
Joined: 03 Nov 2012, 07:53
Location: Poland

Re: Activating a module

Post#4 by ppb222 » 10 Nov 2012, 09:49

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".

User avatar
brokenman
Site Admin
Site Admin
Posts: 5460
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Activating a module [SOLVED]

Post#5 by brokenman » 10 Nov 2012, 22:07

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply