Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-03-2012, 01:03 PM
|
#1
|
|
Member
Registered: Aug 2008
Posts: 111
Rep:
|
Gparted installed in Slackware 14 - ERROR
I've installed Gparted in Slackware 14 from slackfind.net.
Quote:
gparted-0.13.1-i486-1sl
Slackware-13.37 / slacky.eu
location: system/gparted/0.13.1
dependencies: atk >= 1.32.0-i486-1,atkmm >= 2.22.5-i486-1sl,cairo >= 1.10.2-i486-2,cairomm >= 1.9.8-i486-1sl,cxxlibs >= 6.0.14-i486-1 | gcc-g++ >= 4.5.2-i486-2,expat >= 2.0.1-i486-2,fontconfig >= 2.8.0-i486-1,freetype >= 2.4.4-i486-1,gcc >= 4.5.2-i486-2,gdk-pixbuf2 >= 2.23.3-i486-1,glib2 >= 2.28.6-i486-1,glibc-solibs >= 2.13-i486-4,glibmm >= 2.27.99.2-i486-1sl,gtk+2 >= 2.24.4-i486-1,gtkmm >= 2.24.0-i486-1sl,libX11 >= 1.4.3-i486-2,libXau >= 1.0.6-i486-1,libXcomposite >= 0.4.3-i486-1,libXcursor >= 1.1.11-i486-1,libXdamage >= 1.1.3-i486-1,libXdmcp >= 1.1.0-i486-1,libXext >= 1.2.0-i486-1,libXfixes >= 5.0-i486-1,libXi >= 1.4.2-i486-1,libXinerama >= 1.1.1-i486-1,libXrandr >= 1.3.1-i486-1,libXrender >= 0.9.6-i486-1,libpng >= 1.4.5-i486-1,libsigc++ >= 2.2.9-i486-1sl,libxcb >= 1.7-i486-1,lvm2 >= 2.02.84-i486-1,pango >= 1.28.4-i486-1,pangomm >= 2.28.2-i486-1sl,parted >= 2.3-i486-1,pixman >= 0.20.2-i486-1,udev >= 165-i486-2,util-linux >= 2.19-i486-1,yelp >= 2.30.1-i486-5sl,zlib >= 1.2.5-i486-4
|
I'm getting this error:
Code:
which gparted
/usr/sbin/gparted
/usr/sbin/gparted
/usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory
bash-4.2#
How do I get Gparted to execute?
Thanks.
Larry
Last edited by lkraemer; 10-03-2012 at 01:05 PM.
|
|
|
|
10-03-2012, 01:16 PM
|
#2
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
Install gtkmm.
I would recommend when you miss a package to first look at the availability of a SlackBuild for it @ slackbuilds.org. You will find information in their FAQ how to use it to make yourself a package and for every application they do list the dependencies when they are not part of a full installation of Slackware.
EDIT At first I wrote slackbuilds.net instead of slackbuilds.org, sorry about that. So basically my advise is the same as Ponce's. He just worded it better 
Last edited by Didier Spaier; 10-03-2012 at 01:52 PM.
|
|
|
|
10-03-2012, 01:25 PM
|
#3
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,950
|
it seems to me that you installed the package from the 13.37 repository of slacky.eu.
don't expect to pick packages here and there (from different sources and for different versions of slackware) and just hope they work together
the best suggestion I can give you is to install it from the build scripts on slackbuilds.org (but first install the dependencies -in the right order).
Last edited by ponce; 10-03-2012 at 01:30 PM.
|
|
|
|
10-03-2012, 01:55 PM
|
#4
|
|
Member
Registered: Oct 2010
Distribution: Arch & Slackware
Posts: 91
Rep:
|
I installed Gparted just last night, using slackbuilds.org, and it works fine for me. You just have to make sure you have installed all of the dependencies required. If you're using slackbuilds.org website, always look for the listed dependencies.
For instance Gparted says it relies on gtkmm, and gtkmm relies on mm-common and atkmm, which in turn have their own dependencies.
|
|
|
|
10-03-2012, 02:44 PM
|
#5
|
|
Member
Registered: Apr 2012
Location: Russia
Distribution: Slackware
Posts: 67
Rep:
|
If I find myself in this situation, the first thing I'm doing - looking package that contains the file that caused the problem, using slackpkg:
Code:
# slackpkg file-search filename.so
But it is not always, as in this case, gives the desired result. Then I look in google by filename. Typically, it is helps.
|
|
|
|
10-03-2012, 03:29 PM
|
#6
|
|
Member
Registered: Aug 2008
Posts: 111
Original Poster
Rep:
|
Didier Spaier, ponce, Beelzebud, yars:
Thanks for the information. I removed the gparted package from Slackware-13.37 / slacky.eu
I've downloaded the dependencies (source & script) from SlackBuilds.org
I'm going to attempt it a bit later.
I had previously built and installed PSI from there.
THANKS for the help.....I'll get there.....
Larry
|
|
|
|
10-03-2012, 06:20 PM
|
#7
|
|
Member
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 859
Rep:
|
Another option would be partitionmanager in /extra.
Works good, no deps.
|
|
|
|
10-03-2012, 07:19 PM
|
#8
|
|
Member
Registered: Aug 2008
Posts: 111
Original Poster
Rep:
|
Beelzebud,
I'd like to ask you a question on how you organize the dependencies.
I've got a listing of the dependencies:
Quote:
Gparted (0.13.1) requires -> gtkmm -- gtkmm requires -> mm-common & atkmm
atkmm requires -> pangomm -- pangomm requires -> cairomm -- cairomm requires -> glibmm
glibmm requires -> libsigc++
|
Do you create a gparted folder and lump everything in there and build via the script for each dependecy,
or do you have each dependency in it's own folder and just copy the built dependency from the tmp folder
to the gparted folder. I don't want to end up unorganized, and have multiple copies, floating around.
Or maybe you have another completely different method. What's the best method?
Thanks.
Larry
Last edited by lkraemer; 10-03-2012 at 07:31 PM.
|
|
|
|
10-03-2012, 07:44 PM
|
#9
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,862
|
in SlackBuilds, you have different folders for each package. You can follow that method
it simplifies your package structure on your local directory
|
|
|
|
10-03-2012, 10:47 PM
|
#10
|
|
Member
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 177
Rep:
|
install in correct order.?
Just wondering why it is neccessary to install in a correct order?
I usually install the package first and rely on the system to tell me want it needs via the error messages.
|
|
|
|
10-03-2012, 11:09 PM
|
#11
|
|
Member
Registered: Oct 2010
Distribution: Arch & Slackware
Posts: 91
Rep:
|
I highly recommend using sbopkg ( www.sbopkg.org), as it automates a lot of the tedious stuff. As to the order, it just depends on what you're installing. Some things won't build without their dependency already on the system, in the case of a needed library, etc.
At any rate, sbopkg will greatly simplify the process.
|
|
|
|
10-04-2012, 02:17 AM
|
#12
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,950
|
Quote:
Originally Posted by lkraemer
I've got a listing of the dependencies:
Do you create a gparted folder and lump everything in there and build via the script for each dependecy,
or do you have each dependency in it's own folder and just copy the built dependency from the tmp folder
to the gparted folder. I don't want to end up unorganized, and have multiple copies, floating around.
Or maybe you have another completely different method. What's the best method?
|
personally I install sbopkg, I sync with "sbopkg -r" and I build/install things in the reverse order you mentioned (so that the next entry of the queue I build will have all the dependencies needed -to answer also to vigi)
Code:
sbopkg -i "mm-common libsigc++ glibmm cairomm pangomm atkmm gtkmm gparted"
|
|
|
1 members found this post helpful.
|
10-04-2012, 03:21 AM
|
#13
|
|
Member
Registered: Jun 2012
Location: France
Distribution: Slackware Zenwalk
Posts: 59
Rep: 
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:09 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|