LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-22-2014, 12:57 AM   #1
Tachtory
Member
 
Registered: Dec 2011
Distribution: Mint, Slackware
Posts: 43

Rep: Reputation: Disabled
Slackware 14, emacs won't launch, how to install missing library?


It appears I'm missing a shared library for Emacs. I'm trying to launch in terminal mode. When I try to launch I get this error:

Code:
$ emacs -nw
emacs: error while loading shared libraries: libMagickWand-6.Q16.so.1: cannot open shared object file: No such file or directory
I installed the X Windows package, but did not install the X Windows Apps package. I am coming from debian distros (Mint) so usually I go to the package manager for installing missing software.

How should I proceed with Slackware, to find and install missing or new software or libraries?
 
Old 01-22-2014, 01:08 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you are new to Slackware it is strongly recommended to make a full install (even long-time Slackware users usually do that).
Assuming that you have configured the slackpkg package manager correctly you would first find out which package contains that library:
Code:
>>>slackpkg file-search libMagickWand
DONE

The list below shows the packages that contains "libMagickWand" file.

[ Status           ] [ Repository               ] [ Package                                  ]
   installed                                        imagemagick-6.8.6_10-x86_64-1             

You can search specific packages using "slackpkg search package".
Your output will look different, since I use the slackpkg+ plugin, but it will nonetheless report that the package you need is the imagemagick package. So just install that:
Code:
slackpkg install imagemagick
But again, it is strongly recommended that you make a standard full installation.
 
1 members found this post helpful.
Old 01-22-2014, 01:11 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385

Rep: Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356
Slackware is offered as an all-in-one distribution, it doesn't have tools that manage dependencies resolution, that is left to the system administrator (you).

So you should opt to switch to a full installation (the only one supported), it's easy to do it with slackpkg:

- set a mirror in /etc/slackpkg/mirrors (the one corresponding to your version, 32 or 64bit)

- give the command
Code:
slackpkg update
- then, if you're on 32bit slackware
Code:
slackpkg install slackware
if you are instead on 64bit slackware
Code:
slackpkg install slackware64

Last edited by ponce; 01-22-2014 at 01:13 AM.
 
1 members found this post helpful.
Old 01-22-2014, 02:07 AM   #4
Tachtory
Member
 
Registered: Dec 2011
Distribution: Mint, Slackware
Posts: 43

Original Poster
Rep: Reputation: Disabled
Okay, thank you for the quick reply.

Just curious, do the 'current' packages just point to 14.1 right now, or are they newer?
 
Old 01-22-2014, 02:32 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
-current is the development version of Slackware.
 
1 members found this post helpful.
Old 01-22-2014, 06:19 AM   #6
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 120Reputation: 120
From looking at the changelog, there were mostly security fixes in -current since 14.1 was released. Calligra was updated to 2.7.5, cairo rebuilt without specific options. and so on.

edit: Oh, and firefox was updated to the latest version (not ESR).

Last edited by lems; 01-22-2014 at 06:20 AM.
 
Old 01-22-2014, 06:54 AM   #7
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 2,390

Rep: Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998
Quote:
Originally Posted by Tachtory View Post
I'm trying to launch in terminal mode. When I try to launch I get this error:

Code:
$ emacs -nw
emacs: error while loading shared libraries: libMagickWand-6.Q16.so.1: cannot open shared object file: No such file or directory
The emacs package installs two versions of the emacs binary: emacs-24.3-with-x11 and emacs-24.3-no-x11. And it makes a symbolic link, so that command emacs starts emacs-24.3-with-x11 as default.

You could have fixed it by using the no-x11 version, instead. As root:
Code:
ln -sf emacs-24.3-no-x11 /usr/bin/emacs
(Or 24.2 in Slackware 14.0).

Last edited by Petri Kaukasoina; 01-22-2014 at 06:57 AM.
 
2 members found this post helpful.
Old 01-22-2014, 07:59 AM   #8
Tachtory
Member
 
Registered: Dec 2011
Distribution: Mint, Slackware
Posts: 43

Original Poster
Rep: Reputation: Disabled
That sounds good!

So if I'm really serious about learning emacs I could add this to my bashrc?

Code:
alias vim="emacs-24.3-no-x11"
 
Old 01-22-2014, 09:05 AM   #9
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 120Reputation: 120
And don't forget to put
Code:
(setq viper-mode t)
(require 'viper)
into your ~/.emacs.

;-)
 
Old 01-22-2014, 12:46 PM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
Actually it's ~/.emacs.d/init.el these days.
 
2 members found this post helpful.
Old 01-22-2014, 02:10 PM   #11
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by Richard Cranium View Post
Actually it's ~/.emacs.d/init.el these days.
Thanks, I did not know that. I tried emacs a few times and did not want to insult anyone. Both are powerful editors, in my opinion, it's just that I'm used to vi (I use nvi most of the time).
 
Old 01-22-2014, 03:07 PM   #12
emgee_1
Member
 
Registered: Aug 2009
Location: Nijmegen, The Netherlands
Distribution: Slackware 14
Posts: 42

Rep: Reputation: 6
Quote:
Originally Posted by lems View Post
And don't forget to put
Code:
(setq viper-mode t)
(require 'viper)
into your ~/.emacs.

;-)
I think you want evil now iso viper

Marcel
 
Old 01-22-2014, 06:45 PM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
Quote:
Originally Posted by lems View Post
Thanks, I did not know that. I tried emacs a few times and did not want to insult anyone. Both are powerful editors, in my opinion, it's just that I'm used to vi (I use nvi most of the time).
No sweat. It used to be ~/.emacs and that actually still works. But someday, it won't.

The fastest guy on the keyboard that I ever watched used emacs with vi keybindings. I always felt as if I should have a fire extinguisher near when I watched him type. It was mind-boggling.

Last edited by Richard Cranium; 01-22-2014 at 06:47 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs info missing Emacs topic peterpop Linux - Software 2 09-25-2013 09:01 AM
[SOLVED] ./configure problem for libsf library due to apparently missing libdb library. vectrum Linux - Software 6 08-05-2011 03:11 PM
GUI won't launch after first time install of Ubuntu 5.04 N0DIH Ubuntu 3 07-08-2005 05:02 AM
Oh shoot. Konqueror doesn't launch, kde-data won't install, kmenu isn't working... shodekiagari Debian 3 04-30-2004 12:56 PM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration