You are not logged in.

#1 2012-02-16 04:28:50

nthvision
Member
Registered: 2012-02-16
Posts: 10

adduser error

Hey guys, I been searching looking for an answer but can't find anything so I decided to join the forums.
This is driving me nuts, when I run the adduser command this is what I get

grep: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

this can't be good... what should I do to fix this problem?

Offline

#2 2012-02-16 04:34:22

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: adduser error

pacman -S pcre

Offline

#3 2012-02-16 04:39:20

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

I did pacman -Q and it says I have pacman 8.30-1 hmm
I know I have pcre insalled because nginx wouldn't start up without it, so I did pacman -S pcre, however this problem was occuring after the fresh install and after the pacman -S pcre

Last edited by nthvision (2012-02-16 04:40:46)

Offline

#4 2012-02-16 04:42:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: adduser error

Is your system up to date?
You should have the whole base group installed and many packages from that group require pcre as a dependency so you should have pcre installed from the very start.

Offline

#5 2012-02-16 04:43:04

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: adduser error

@nthvision: You surely meant "pcre 8.30-1" which is the version I have too.


To know or not to know ...
... the questions remain forever.

Offline

#6 2012-02-16 04:51:45

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

bernarcher wrote:

@nthvision: You surely meant "pcre 8.30-1" which is the version I have too.

Yes I meant pcre 8.30-1 sorry about the typo :-p

karol wrote:

Is your system up to date?
You should have the whole base group installed and many packages from that group require pcre as a dependency so you should have pcre installed from the very start.

Im not sure if it is up to date, to be honest I am running a Linode.com server that I just bought

Last edited by nthvision (2012-02-16 04:52:18)

Offline

#7 2012-02-16 04:51:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,674
Website

Re: adduser error

karol wrote:

Is your system up to date?

This...

Offline

#8 2012-02-16 04:54:21

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

Allan wrote:
karol wrote:

Is your system up to date?

This...

I just checked, and it says my distribution is an Arch 2011.08

Offline

#9 2012-02-16 04:59:56

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

I ran find / -name libpcre*
and got this:

find / -name libpcre*
/usr/lib/libpcre16.a
/usr/lib/pkgconfig/libpcre16.pc
/usr/lib/pkgconfig/libpcreposix.pc
/usr/lib/pkgconfig/libpcre.pc
/usr/lib/pkgconfig/libpcrecpp.pc
/usr/lib/libpcre16.so
/usr/lib/libpcre.so.1.0.0
/usr/lib/libpcrecpp.a
/usr/lib/libpcre.a
/usr/lib/libpcre.so
/usr/lib/libpcre16.so.0.0.0
/usr/lib/libpcreposix.so.0.0.0
/usr/lib/libpcrecpp.so
/usr/lib/libpcreposix.so
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.a
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcre16.so.0
/usr/lib/libpcreposix.so.0
/usr/lib/libpcre.so.1

"libpcre.so.0" is not on the system. But all these other files are so is it a naming issue? or do I need that specific file.

Last edited by nthvision (2012-02-16 05:02:19)

Offline

#10 2012-02-16 05:00:19

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: adduser error

nthvision wrote:

I just checked, and it says my distribution is an Arch 2011.08

I think they mean, how recently did you run,

sudo pacman -Syyu

Last edited by /dev/zero (2012-02-16 05:01:21)

Offline

#11 2012-02-16 05:04:34

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

/dev/zero wrote:
nthvision wrote:

I just checked, and it says my distribution is an Arch 2011.08

I think they mean, how recently did you run,

sudo pacman -Syyu

I just ran it, after having you suggest it, and this happened:

error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
initscripts: /etc/profile.d/locale.sh exists in filesystem
Errors occurred, no packages were upgraded.

Offline

#12 2012-02-16 05:08:23

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: adduser error

I think you need to go back to the Beginner's Guide, and read it very carefully. There appear to be some rather large gaps in your knowledge of basic Archlinux principles and practices.

Offline

#14 2012-02-16 05:10:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: adduser error

Please read http://www.archlinux.org/news/filesyste … -required/ and all the newer news items and update more often.


Edit: That's weird, I could have sworn I refreshed the page before posting. Oh well.

Last edited by karol (2012-02-16 05:11:15)

Offline

#15 2012-02-16 05:12:48

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

Thank You All. Since I didn't have to install it from scratch I did not bother reading the articles. I will do Now.

Offline

#16 2012-02-16 05:16:20

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

Oh wow I hate to bother you guys again but even after I ran the pacman -S filesystem --force
I got this

bin/grep: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

libpcre.so.0 haunts me once again...

Last edited by nthvision (2012-02-16 05:16:49)

Offline

#17 2012-02-16 05:17:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: adduser error

nthvision wrote:

Thank You All. Since I didn't have to install it from scratch I did not bother reading the articles. I will do Now.

https://bbs.archlinux.org/viewtopic.php?id=57205
Read the whole thing, I'll just quote the part that says you should always read the announcements:

Read before upgrading.
Check the front page Arch news, Announcement lists, and optionally the forum and Mailing Lists, before hitting enter. Bookmark them. The Arch devs and community are quite vigilant about providing information and possible known issues during an upcoming upgrade. Take advantage of these resources.


As /dev/zero suggested, I think you should re-read all the basics.

Offline

#18 2012-02-16 05:25:53

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

Can you guys give me a clue on what I should be focusing on more specifically atleast to fix the problem? I just need to create a new user...

Offline

#19 2012-02-16 05:32:03

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: adduser error

nthvision wrote:

Can you guys give me a clue on what I should be focusing on more specifically atleast to fix the problem? I just need to create a new user...

Can you use useradd? I personally prefer it to adduser anyway.

Offline

#20 2012-02-16 05:43:10

nthvision
Member
Registered: 2012-02-16
Posts: 10

Re: adduser error

/dev/zero wrote:
nthvision wrote:

Can you guys give me a clue on what I should be focusing on more specifically atleast to fix the problem? I just need to create a new user...

Can you use useradd? I personally prefer it to adduser anyway.

This worked, thank you for your time and patience.

Offline

#21 2012-02-16 07:38:21

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,674
Website

Re: adduser error

nthvision wrote:

Oh wow I hate to bother you guys again but even after I ran the pacman -S filesystem --force
I got this

bin/grep: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

libpcre.so.0 haunts me once again...


You still need to fully update your system...   pacman -Syu.

Offline

#22 2012-02-22 21:08:44

jka
Member
Registered: 2012-02-22
Posts: 4

Re: adduser error

pacman -S grep

Offline

#23 2012-02-22 23:32:57

carl.lucas
Member
Registered: 2012-02-22
Posts: 1

Re: adduser error

I was having this problem, and I found the answer here: https://bugs.archlinux.org/task/28422

Offline

Board footer

Powered by FluxBB