Cannot find -lalleg (-lgl, etc.)

Linux specific questions.
Post Reply
naptastic
Posts: 9
Joined: Jul 17, 2006 15:25
Location: Salt Lake City, UT
Contact:

Cannot find -lalleg (-lgl, etc.)

Post by naptastic »

I'm running Fedora Core 5. I did a fresh install from the binaries of 0.16b, and wrote a one-line program:

'$include: "allegro.bi"

# fbc allegrotest.bas
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
/usr/share/freebasic/bin/linux/ld: cannot find -lalleg

(Similar problems result from including gl.bi, etc.) I used Yum to install Allegro and Allegro-devel, and that didn't help. What am I doing wrong here? It seems like it should just *work*...

-Alias
v1ctor
Site Admin
Posts: 3804
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Post by v1ctor »

You have to install the -dev versions of each library if your Linux distro doesn't come with them pre-installed (i know that Ubuntu doesn't).

The links to the libraries are in the bottom of readme.txt file or in the Links page: http://www.freebasic.net/index.php/view ... tegory=lib.
Post Reply