Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » how to install allegro4.4.0 on Ubuntu9.10

This thread is locked; no one can reply to it. rss feed Print
how to install allegro4.4.0 on Ubuntu9.10
dinamic
Member #11,621
January 2010

Hi, i need some help

it fails to "make"

[ 60%] Building C object examples/CMakeFiles/ex12bit.dir/ex12bit.c.o
Linking C executable ex12bit
../lib/liballeg.so.4.4.0: undefined reference to `_colorconv_rgb_scale_5x35'
../lib/liballeg.so.4.4.0: undefined reference to `dlsym'
../lib/liballeg.so.4.4.0: undefined reference to `_colorconv_rgb_map'
../lib/liballeg.so.4.4.0: undefined reference to `_colorconv_indexed_palette'
../lib/liballeg.so.4.4.0: undefined reference to `dlopen'
../lib/liballeg.so.4.4.0: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [examples/ex12bit] Error 1
make[1]: *** [examples/CMakeFiles/ex12bit.dir/all] Error 2
make: *** [all] Error 2

:'(

pff missing lib: X11 libs
it works now ;D

Marwan
Member #11,685
February 2010

Hi, I am having the exact same problem when installing allegro 4.4.0.1 on my fedora, so if you can write exactly what you did to solve the problem, it would be great thanks,

dinamic
Member #11,621
January 2010

hm.. for ubuntu9.10

sudo apt-get install build-essential libx11-dev

http://packages.ubuntu.com/karmic/devel/build-essential
http://packages.ubuntu.com/karmic/libx11-dev

Go to: