# libxml2 libs for win32?

- Thread: https://externals.io/message/8475
- Original archive: https://news-web.php.net/php.internals/8475
- Started by Wez Furlong on 2004-03-11T01:05:19+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #8475 — Wez Furlong — 2004-03-11T01:05:19+00:00

URL: https://externals.io/message/8475#8475

hey,

I just tried to build php5 on my new machine using a fresh checkout
and sync'ing from Edins magic box of libs, and the build fails:

php5ts.dll.def : error LNK2001: unresolved external symbol _libiconv_version
php5ts.dll.def : error LNK2001: unresolved external symbol
libiconv_set_relocation_prefix
Release_TS\php5ts.lib : fatal error LNK1120: 2 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file

I tried upgrading my xml libs to Rob's latest stuff but found that the
.def file is a bit ca-ca. (loads of unresolved libxml functions).

I tried copying libs across from my known-good box, but get the
same problems.

I can get things to link by commenting the offending lines (and hacking
the iconv extension), but found that doing it that way requires a
separate iconv.dll.

I thought the goal was to have a big static libxml2_a.lib that
included all the iconv stuff (so no need for iconv.dll's), and have
the .def file export all those things (which is what it appears to
be trying to do).

--Wez.

---

## #8476 — Wez Furlong — 2004-03-11T01:23:11+00:00

URL: https://externals.io/message/8475#8476 · In reply to: #8475

Ugh, looks like I had a combination of a junk folder and junked files
(Edin; your rsync stuff is broken :-)

Lets try again with sensible data...

--Wez.

----- Original Message ----- 
From: "Wez Furlong" <wez@thebrainroom.com>
To: <internals@lists.php.net>
Sent: Thursday, March 11, 2004 1:05 AM
Subject: [PHP-DEV] libxml2 libs for win32?


> hey,
>
> I just tried to build php5 on my new machine using a fresh checkout
> and sync'ing from Edins magic box of libs, and the build fails:
>
> php5ts.dll.def : error LNK2001: unresolved external symbol
_libiconv_version
> php5ts.dll.def : error LNK2001: unresolved external symbol
> libiconv_set_relocation_prefix
> Release_TS\php5ts.lib : fatal error LNK1120: 2 unresolved externals
> LINK : fatal error LNK1141: failure during build of exports file
>
> I tried upgrading my xml libs to Rob's latest stuff but found that the
> .def file is a bit ca-ca. (loads of unresolved libxml functions).
>
> I tried copying libs across from my known-good box, but get the
> same problems.
>
> I can get things to link by commenting the offending lines (and hacking
> the iconv extension), but found that doing it that way requires a
> separate iconv.dll.
>
> I thought the goal was to have a big static libxml2_a.lib that
> included all the iconv stuff (so no need for iconv.dll's), and have
> the .def file export all those things (which is what it appears to
> be trying to do).
>
> --Wez.

---

## #8478 — Edin Kadribasic — 2004-03-11T09:47:21+00:00

URL: https://externals.io/message/8475#8478 · In reply to: #8476

> Ugh, looks like I had a combination of a junk folder and junked files
> (Edin; your rsync stuff is broken :-)

Yes yes, I know. I had a file system corruption (reiserfs) due to the bad 
memory chip. Will sync from the master source from a trusted NTFS 
partition ;)

Edin
