You are not logged in.

#1 2009-09-17 19:19:13

derekr44
Member
From: Queen Creek, AZ
Registered: 2008-02-13
Posts: 52
Website

Error Instaling Packages

I'm trying to install two separate packes through Pacman and am getting the same error on both:

sh: ldconfig: command not found
error: command failed to execute correctly

I'm trying to install Stellarium and cmake.  Not sure what command it can't find...

Here's the whole install output:

bash-4.0# pacman -S cmake
resolving dependencies...
looking for inter-conflicts...

Targets (2): xmlrpc-c-1.06.35-1  cmake-2.6.4-2 

Total Download Size:    7.94 MB
Total Installed Size:   23.40 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
xmlrpc-c-1.06.35-1-i686  318.2K   34.5K/s 00:00:09 [#######################] 100%
cmake-2.6.4-2-i686         7.6M   26.8K/s 00:04:51 [#######################] 100%
checking package integrity...
(2/2) checking for file conflicts                   [#######################] 100%
(1/2) installing xmlrpc-c                           [#######################] 100%
(2/2) installing cmake                              [#######################] 100%
Optional dependencies for cmake
    qt: cmake-gui
sh: ldconfig: command not found
error: command failed to execute correctly

Last edited by derekr44 (2009-09-17 19:25:48)


"Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. traveling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph." - Anonymous

Offline

#2 2009-09-17 19:54:29

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Error Instaling Packages

Which version of pacman are you using?  f it's not current, update pacman.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2009-09-17 21:07:11

derekr44
Member
From: Queen Creek, AZ
Registered: 2008-02-13
Posts: 52
Website

Re: Error Instaling Packages

Pacman v3.3.0 - libalpm v4.0.0

It looks like the applications are successfully installing, but the error appears when it completes.

Last edited by derekr44 (2009-09-17 21:07:54)


"Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. traveling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph." - Anonymous

Offline

#4 2009-09-17 21:49:10

ilisium
Member
Registered: 2009-09-17
Posts: 7

Re: Error Instaling Packages

Same problem here (Pacman v3.3.0 - libalpm v4.0.0).

echo output:

echo $PATH
/usr/ucb:/bin:/usr/bin:/etc

My problem is that I don't have these lines in .bashrc or .bash_profile or /etc/profile . What file do they belong to ?

A temporary solution is:

export PATH="/bin:/usr/bin:/sbin:/usr/sbin"

The application are successfully installing,

This is my first try with Archlinux (my 2nd day using it) and so far the only problem I came across that I couldn't solve with the help of the wiki, or by searching and reading through the forums.

Offline

#5 2009-09-18 14:08:39

ilisium
Member
Registered: 2009-09-17
Posts: 7

Re: Error Instaling Packages

Solved it, I'm just a little bit slow on these things hmm just did:

nano ~/.bashrc

and added:

export PATH="/bin:/usr/bin:/sbin:/usr/sbin"

in it, I did read another forum entry on this problem but didn't add this line to my bashrc.

The other forum post was http://bbs.archlinux.org/viewtopic.php?id=77450 thanks go to tmi999.

Offline

Board footer

Powered by FluxBB