FB 0.14 Linux: missing library?

Linux specific questions.
Post Reply
jdebord
Posts: 547
Joined: May 27, 2005 6:20
Location: Limoges, France
Contact:

FB 0.14 Linux: missing library?

Post by jdebord »

The compiler complains that it can't find the libbfd library.

Where can I find it?
mjs
Site Admin
Posts: 842
Joined: Jun 16, 2005 19:50
Location: Germany

Post by mjs »

It's part of the binutils project ... maybe there's something like a binutils-dev package?

Regards,
Mark
mambazo
Posts: 652
Joined: Jul 17, 2005 13:02
Location: Ireland
Contact:

Same problem

Post by mambazo »

Hi, Im having the same problem when trying to compile, do I need freebasic 0.13 before installing 0.14B? And if so, where can I get it (0.13)?
mjs
Site Admin
Posts: 842
Joined: Jun 16, 2005 19:50
Location: Germany

Post by mjs »

binutils should be part of your distribution. We cannot provide one because it's different for every distribution.

If you cannot find it, download the sources from http://www.gnu.org/software/binutils/ and compile it yourself.

Regards,
Mark
mambazo
Posts: 652
Joined: Jul 17, 2005 13:02
Location: Ireland
Contact:

Post by mambazo »

Discovered I have binutils already installed, but I'm still getting the same error.


"/usr/share/freebasic/bin/as: error while loading shared libraries: libbfd-2.15.so: cannot open shared object file: No such file or directory"


Any ideas?
mambazo
Posts: 652
Joined: Jul 17, 2005 13:02
Location: Ireland
Contact:

Post by mambazo »

Could it be that the binutils that came with my distro didn't have all the libs? I'll try updating and see if it sorts itself out.
GrobiMonster
Posts: 4
Joined: May 27, 2005 11:10
Location: Germany

Post by GrobiMonster »

Hi@all!

I'm running Debian Sid (Unstable) and have the same problems.

Binutils and Binutils-dev are installed, but the version in Sid is 2.16.1 instead of 2.15 (as in Debian Sarge or Etch), therefore in /usr/lib are the files libbfd-2.16.1.so and libbfd.so (which symlinks to the first one).

Is it possible to configure as not to use libbfd-2.15.so but simply libbfd.so?

Greetings!
lillo
Site Admin
Posts: 447
Joined: May 27, 2005 8:00
Location: Rome, Italy
Contact:

Post by lillo »

Heh, Linux dependency hell... didn't realize it when I thought of adding as/ar/ld to the FB package. :/

I will have to look if I can build as/ar/ld myself as static linked programs, so no dependency problems will arise. Sorry for the inconvenience...
lillo
Site Admin
Posts: 447
Joined: May 27, 2005 8:00
Location: Rome, Italy
Contact:

Post by lillo »

Ok, reuploaded the whole FB 0.14 Linux package to Sourceforge with staticly linked as/ar/ld, which now only depend upon libc6.
If you had compiling troubles with 0.14 so far, download the package again and reinstall it:

http://prdownloads.sourceforge.net/fbc/ ... z?download

Again, sorry for the inconvenience.
GrobiMonster
Posts: 4
Joined: May 27, 2005 11:10
Location: Germany

Post by GrobiMonster »

The problem seems to be solved, FreeBASIC compiles without troubles.

Thank you, lillo!
jdebord
Posts: 547
Joined: May 27, 2005 6:20
Location: Limoges, France
Contact:

Post by jdebord »

Yes it works :) Thank you very much!
Post Reply