[Gambas-user] Errors compiling 1.9.29

ron ronstk at ...239...
Tue Apr 25 21:23:13 CEST 2006


On Tuesday 25 April 2006 17:45, Leonardo Miliani wrote:
> I downloaded and tried to compile Gambas 1.9.29 but I got some errors 
> when I run the make command. These are the last output lines of make 
> before it stops compiling (I would like to say that previous versions of 
> Gambas compiled fine on same system [Suse 9.3]):
> 
> ------------------
> gbx_string.o(.text+0x5ed): In function `STRING_conv':
> /home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.29/gambas2-1.9.29/main/gbx/gbx_string.c:565: 
> undefined reference to `libiconv_open'
> gbx_string.o(.text+0x62c):/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.29/gambas2-1.9.29/main/gbx/gbx_string.c:584: 
> undefined reference to `libiconv'
> gbx_string.o(.text+0x66e):/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.29/gambas2-1.9.29/main/gbx/gbx_string.c:600: 
> undefined reference to `libiconv_close'
> collect2: ld returned 1 exit status
> make[4]: *** [gbx2] Error 1
> make[4]: Leaving directory 
> `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.29/gambas2-1.9.29/main/gbx'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.29/gambas2-1.9.29/main'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory 
> `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.29/gambas2-1.9.29/main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.29/gambas2-1.9.29'
> make: *** [all] Error 2
> -------------------
> 
> It seems an error og libiconv libraries that are missing but I have them 
> installed on my system, compiled from sources (version 1.5-ximian.3).
> 
> 

Check in /etc/ld.so.conf for existence of the directory where libconv now is.

Normal it is (for suse) in /usr/lib but you compiled yourself and
it is now posible in /usr/local/lib.
This path must be in ld.so.conf
Normal the compile for system libraries is in /usr/local/src 
but it seams you like your home directory to compile.
May be libiconv.so is also somewhere in your home path now.

Just guessing,

Ron







More information about the User mailing list