You are not logged in.

#1 2008-07-03 14:48:41

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Lots of libraries ... unavailable? [Partially Solved]

First of all, hello to the Archlinux community! smile

This is my first day of Archlinux, I have used ubuntu for about 1,5 years before. I got most of everything set up the way I wanted, but I can not play a lot of games because I am missing a lot of libraries. For example, Warsow depends on libcurl, but I can not find any libcurl package in the repositories! Is it just me or, why does Arch not have too many libraries in the repos? Where can I find them all?

FruitieX

Last edited by FruitieX (2008-07-06 16:59:15)

Offline

#2 2008-07-03 14:51:42

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Lots of libraries ... unavailable? [Partially Solved]

Offline

#3 2008-07-03 14:54:15

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: Lots of libraries ... unavailable? [Partially Solved]

Right, that fetches me the curl program, but I can not find the library "libcurl.3.so" anywhere sad

BTW: In Debian it used to be apt-get install libcurl tongue

Last edited by FruitieX (2008-07-03 14:55:34)

Offline

#4 2008-07-03 15:06:53

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Lots of libraries ... unavailable? [Partially Solved]

FruitieX wrote:

Right, that fetches me the curl program, but I can not find the library "libcurl.3.so" anywhere sad

That's because you don't have libcurl.3.so, you have libcurl.4.so.

$ ls /usr/lib/libcurl.*
/usr/lib/libcurl.a   /usr/lib/libcurl.so.4
/usr/lib/libcurl.so  /usr/lib/libcurl.so.4.1.0
$ pacman -Qo /usr/lib/libcurl.*   
/usr/lib/libcurl.a is owned by curl 7.18.2-1
/usr/lib/libcurl.so is owned by curl 7.18.2-1
/usr/lib/libcurl.so.4 is owned by curl 7.18.2-1
/usr/lib/libcurl.so.4.1.0 is owned by curl 7.18.2-1

Your app (Warsow in the case) seems to be built against an old version we no longer provide.

We don't divide up our packages by some strange division like "curl libraries in this package (libcurl), docs in this package (curl-docs), headers in this package (curl-dev), and binary in this package (curl)" - we provide ONE package, curl, that has everything in it.

Offline

#5 2008-07-03 15:08:36

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: Lots of libraries ... unavailable? [Partially Solved]

Oh, I see. Thanks for the help smile

Offline

#6 2008-07-06 07:01:39

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: Lots of libraries ... unavailable? [Partially Solved]

I got another problem with libraries, actually dependencies but most of them are libraries anyway smile.

When I try to run Stepmania 4.0, it gives me this error:

[rasse@fruitiex-laptop ~]$ /home/rasse/Games/StepMania/stepmania
bash: /home/rasse/Games/StepMania/stepmania: No such file or directory

It is most probably a library missing somewhere, but why does it not tell me which library? Is there any way to see which lib is missing, altho there are no arguments you can pass it at the command line? (And the documentation for Stepmania is quite crappy...)

I know Ubuntu did tell me which lib was missing.

Offline

#7 2008-07-06 08:06:35

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: Lots of libraries ... unavailable? [Partially Solved]

Just to note this: It's not only Stepmania complaining "No such file or directory" when something is missing at runtime. In fact, two other games do. Penumbra: Black Plague and Toribash.

Why does that happen, and why don't they tell me what is missing like they used to in other distributions?

Sorry for triplepost smile

Offline

#8 2008-07-06 09:14:41

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Lots of libraries ... unavailable? [Partially Solved]

You are trying to mix architectures, right? You'll need lib32 packages in order to run 32bit programs on x86_64.

Offline

#9 2008-07-06 09:17:27

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Lots of libraries ... unavailable? [Partially Solved]

It's not a case of lib missing, just file not found. Check whether the path you provided is true

cd ~/Games
ls
cd StepMania
ls

Show us the output of that commands.
Also when you are in the StepMania's dir issue a

./stepmania

(if there is such file)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#10 2008-07-06 09:43:30

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: Lots of libraries ... unavailable? [Partially Solved]

I am at work at the moment, but am sure that the stepmania binary exists. I have tried to cd to Games, then cd to StepMania and then exec ./stepmania, but I get the same error. I can even type just "step" and then press tab and it will fill in the path, so the file exists for sure!

Offline

#11 2008-07-06 09:46:02

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

Re: Lots of libraries ... unavailable? [Partially Solved]

Are you running 64bit (x86_64) version of Arch?  My guess is that the binaries are of 32bit so won't work on your system with installing lib32 packages.

Look in the AUR for a PKGBUILD for stepmania that will work on x86_64 and get all the dependancies in there.

Offline

#12 2008-07-06 10:00:29

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: Lots of libraries ... unavailable? [Partially Solved]

Cool, thanks. Will do smile

Offline

#13 2008-07-06 15:24:33

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: Lots of libraries ... unavailable? [Partially Solved]

Pierre and Allan, thank you a LOT for mentioning the 32bit libs! smile
Now the binaries at least output what is missing, so I can hunt the down the deps.

Once again, thank you for helping out! big_smile
You just made another Arch Linux newbie happy. tongue

Edit: Now, what is the best way to install the 32-bit version of libpixmap into a 64-bit Arch Linux install?

Last edited by FruitieX (2008-07-06 15:44:03)

Offline

#14 2008-07-21 06:17:12

trontonic
Member
Registered: 2008-07-21
Posts: 80

Re: Lots of libraries ... unavailable? [Partially Solved]

It's probably horribly wrong, but this made Warsow work here:
sudo pacman -S curl; cd /usr/lib; sudo ln -s libcurl.so.4.1.0 libcurl.so.3

Offline

#15 2008-07-21 12:56:02

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: Lots of libraries ... unavailable? [Partially Solved]

http://aur.archlinux.org/packages/warso … w/PKGBUILD

http://wiki.archlinux.org/index.php/ABS

Use the abs system to download the PKGBUILD and then build/compile/link to libcurl.4.so, which is done during compile time BTW.

Last edited by rooloo (2008-07-21 12:56:38)

Offline

#16 2008-07-21 13:00:57

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Lots of libraries ... unavailable? [Partially Solved]

trontonic wrote:

It's probably horribly wrong, but this made Warsow work here:
sudo pacman -S curl; cd /usr/lib; sudo ln -s libcurl.so.4.1.0 libcurl.so.3

Yes, that is horrible wrong. Just grab the PKGBUILD and rebuild it instead. Oh, and post a bug report if there insn't one already.

iphitus wrote:

Problem: Oh crap, libjoe.so.1 not found!
Suggestion: Symlink libjoe.so.2 to libjoe.so.1

This one is also dumb. It's not even a valid workaround. It's stupidly simple to fix this one. Check you have the latest, if you do, file a bug. We rebuild and it'll work when your mirror syncs. In the meantime, there's /var/abs and you can rebuild. 95% of the packages in the repos will rebuild in ~5-10 minutes. Make a cup of coffee, go to the loo, whatever. If you can spare time for a forum post, you can spare time to rebuild it.

Edit: ^source^

Last edited by Mr.Elendig (2008-07-21 13:02:36)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB