[Gambas-user] Error compiling on Fedora

Tobias Boege taboege at gmail.com
Sat Sep 29 23:27:07 CEST 2018


On Sat, 29 Sep 2018, Gianluigi wrote:
> By compiling Gambas Master on Fedora after successfully configuring the
> libraries (|| ALL COMPONENTS WILL BE COMPILED) on make/configure I get
> error, attach the final part of the log file.
> Any suggestions?
> 
> [...]
>
> Making all in gb.openssl
> make[2]: ingresso nella directory "/home/gian/gambasdevel/gb.openssl"
> make  all-recursive
> make[3]: ingresso nella directory "/home/gian/gambasdevel/gb.openssl"
> Making all in src
> make[4]: ingresso nella directory "/home/gian/gambasdevel/gb.openssl/src"
>   CC       gb_openssl_la-main.lo
> In file included from ../../main/gbx/gbx_component.h:31,
>                  from ../../main/gbx/gbx_class.h:31,
>                  from ../../main/gbx/gbx_value.h:30,
>                  from ../../main/gbx/gbx_string.h:27,
>                  from ../../main/gbx/gbx_variant.h:28,
>                  from ../../main/gbx/gbx_compare.h:29,
>                  from main.c:27:
> ../../main/gbx/gbx_library.h:34:12: fatal error: ltdl.h: No such file or directory
>    #include <ltdl.h>
>             ^~~~~~~~
> compilation terminated.
> make[4]: *** [Makefile:489: gb_openssl_la-main.lo] Error 1
> make[4]: uscita dalla directory "/home/gian/gambasdevel/gb.openssl/src"
> make[3]: *** [Makefile:435: all-recursive] Error 1
> make[3]: uscita dalla directory "/home/gian/gambasdevel/gb.openssl"
> make[2]: *** [Makefile:367: all] Error 2
> make[2]: uscita dalla directory "/home/gian/gambasdevel/gb.openssl"
> make[1]: *** [Makefile:436: all-recursive] Error 1
> make[1]: uscita dalla directory "/home/gian/gambasdevel"
> make: *** [Makefile:377: all] Error 2

That's a strange error to happen at this late stage, but main.c
in gb.openssl does include some unusual gambas headers.

Do you have installed whatever provides ltdl.h on Fedora? I looked
a bit and it's probably called libtool-ltdl-devel, but information
on the web outdates now and then... It compiles fine over here, on
an (almost) freshly updated Arch Linux.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk


More information about the User mailing list