Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

General discussion for topics related to the FreeBASIC project or its community.
Post Reply
miilvyxg
Posts: 193
Joined: Dec 07, 2021 6:51

Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by miilvyxg »

FreeBASIC-1.08.1-win32-mingworg\bin\win32 doesn't shipped with all of the needed dlls.

Trying to compile any programs under examples will result in an error message like this:

as.exe - System Error

The program can't start because libiconv-2.dll is missing from your computer. Try reinstall the program to fix this problem.
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by Imortis »

Many examples use External libraries, which are managed by teams other than the FreeBASIC team. To include all those DLL's (and SO's on Linux) would use a tremendous amount of space and bandwidth. If you search for the missing DLL on your search engine of choice, it is usually simple enough to find them for download.

libiconv-2.dll can be found here: https://www.dll-files.com/libiconv-2.dll.html
srvaldez
Posts: 3379
Joined: Sep 25, 2005 21:54

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by srvaldez »

hello miilvyxg
you just got lucky in choosing the one distribution with a missing dll :-)
I can confirm that this particular package FreeBASIC-1.08.1-win32-mingworg.7z is missing the libiconv-2.dll
but you can get it by downloading winlibs-mingw-w64-i686-9.3.0-7.0.0-r3-sjlj.7z
once you locate the dll copy it to the FreeBASIC-1.08.1-win32-mingworg\bin\win32 folder
caseih
Posts: 2157
Joined: Feb 26, 2007 5:32

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by caseih »

Imortis wrote:Many examples use External libraries, which are managed by teams other than the FreeBASIC team. To include all those DLL's (and SO's on Linux) would use a tremendous amount of space and bandwidth.
While that is true, the original problem is that the GNU binaries shipped with that particular FB package, and which are depended on by the compiler itself, will not run because of that missing dll. This is indeed a packaging issue. That dll should be in the zip file.
Last edited by caseih on Dec 07, 2021 19:58, edited 1 time in total.
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by Imortis »

My mistake.
coderJeff
Site Admin
Posts: 4326
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by coderJeff »

The mingworg build of freebasic is built with tools from MinGW - Minimalist GNU for Windows

Appears that this file has been missing from the packages since fbc 1.05.0 releases and up.

The libiconv-2.dll is part of libiconv-1.14-3-mingw32-dll.tar.lzma

I will update the release script to add the dll.

Thanks.
caseih
Posts: 2157
Joined: Feb 26, 2007 5:32

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by caseih »

Thank you!
j8w344c6
Posts: 184
Joined: Oct 25, 2021 10:18

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by j8w344c6 »

coderJeff wrote:Appears that this file has been missing from the packages since fbc 1.05.0 releases and up.
It means almost to no one really use this package. If there is any they must be already discovered this.
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by Imortis »

More than likely, it means most people using it already had an older version of the compiler installed before using this one.
miilvyxg
Posts: 193
Joined: Dec 07, 2021 6:51

Re: Careless packaging of FreeBASIC-1.08.1-win32-mingworg.7z

Post by miilvyxg »

Imortis wrote:More than likely, it means most people using it already had an older version of the compiler installed before using this one.
Your project is hosted on sourceforge. sourceforge does count how many times a file being downloaded. Just check it yourself and have your own conclusion.
Post Reply