First of the "other open source stuff" for Perisama

In addition to making php and lots of php extensions available for download, I'm also slowly working on getting some common open source libraries and tools (mainly ones used by/for php and php-gtk) compiling on windows. For some libraries this isn't a problem, for others it won't be so easy.

Today's project (which is finished) was libiconv. The library is already available from Edin's magic windows build pack and from Tor Lillqvist's gtk goodies site since it's part of the gtk dependency tree, even from the gtk and gnome ftp servers and the GnuWin32 project. See the problem though? (Besides the potential MSVC mixing with MinGW junk since only Edin's is compiled with MSVC) The version available is, quite frankly, OLD - the last release of libiconv is 1.11, the available version for windows is 1.9. Let's all just say "ewww" in unison (especially since the release date was 2004 for the 1.9 series and 2006 for 1.11, two years ??).

Bug fixes happen, even windows. Windows needs a little more up to date builds. So I put together three MSVC projects (one for each version, hurray) that are now available from because most windows developers are scared to death of makefiles and configuration of any kind. I'm hoping to slowly fill up the "developer" section with more recent builds for all the commonly used open source items. Now becuase everything and it's brother depends on libiconv I can't really do a lot of replacing right away... not until libintl (and other gettext goodies) and libxml2 and...lots of other stuff is built.

Little side note on perisama doling out libs - there will always be the problem of the non-open source stuff, and the open source stuff that has "official" builds. But progress is always a good thing.


gaetano giunta

This is a really great great thing!

The only problem I see with building updated versions of the "very common" unix libs and making them available on perisama is the "officialness" of the release and possible conflicts/dll hell.

I have started yesterday my first php windows build - following your excellent guide for vc%2B%2B20055 express - and I had to spend a little too much time just to figure out version differences between from edin's site and win32build from And that was after reading the extremely detailed tutorial.
I also had a local copy of flex and bison as part of unxutils (which in itself is a great thing) but kinda weird: the zip package dates from 1/3/07 but the files have been built on 14/4/03) but picking the correct one was less of a problem since it's just tooling) ie. not part of the compiled-in libs.

LibIconv and ssl are in fact distributed with a lot of apps (even commercial ones). Playing around with paths and testing new software I always fear to end up using an incompatible one (especially vis-a-vis the vc6-built vs. vc8-built problem).
You mentioned Tor's version, gnuwin32 and edin's one. Now we will have four (if the single libs do not start appearing on apachelounge that is...). And for some of those downloads it's hard to understand what version you are getting and what are the implied dependencies...

2007-06-27 5:19 am


Yeah, dll + windows is a real pain. One of the things I'm very careful to do with any of my builds is alter the .rc file when I build it. I add the url to, indicate that it's a "special build" and add the compiler version used on it. This allows you to right click the dll and look at the version information to see what you're getting.

I personally try to keep from dropping .dlls into my %systemroot% directory or putting them in the path unless I absolutely am forced to. Windows is generally smart enough to look in the same directory as the binary FIRST when searching for dlls and I abuse this a lot to avoid dll hell situations. Perhaps I should start adding dependency information for all the dlls I provide on perisama, I'm trying to keep users from becoming too confused on what exactly they are downloading...

2007-07-01 7:52 am


Hi, I'm trying to find your libiconv port on but no success - can you point me to the file ??


2007-10-03 9:06 pm


I'm trying to have openssl working under php-gtk windows. I did find your website (perisama) and thought it would have been included. I have follow the instruction from kksou website but still not luck.

Do you know if openssl dll has been converted to work for php-gtk. I need to communicate through socket to a ssl website.


2007-10-09 7:00 am

Post a Reply