Never mind. I guess that mingw is configured as multilib somehow. I forced all to use /lib. Can you please try again?
On Sat, Feb 25, 2012 at 7:28 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: > Can you send me list: > $ find image-win32/openvpn/lib > $ find image-win32/openvpn/lib64 > > > On Sat, Feb 25, 2012 at 4:22 PM, Russell Morris <open...@rkmorris.us> wrote: >> Hi, >> >> OK, I have done some digging - and I know what the issue is! Not sure how to >> fix it though ... :-). >> >> Inside the image-win64 directory, and then inside openvpn - running the >> build script results in two directories, lib and lib64 (for image-win32 >> there is only the lib directory). The libraries noted as missing are inside >> lib64, not lib ... so they are not seen. I have seen this issue before. Then >> the fix was to link lib64 to lib, and I tried this in this case - but the >> script seems to delete the directories and recreate them (so the link is >> gone). >> >> Thoughts? >> >> Thanks! >> >> ... Russell >> >> >> >> >> On Sat, 02/25/2012 03:23 AM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: >> >> And also full output of the build script... >> >> ..... 2>&1 | gzip > /tmp/build.log >> >> On Sat, Feb 25, 2012 at 11:14 AM, Alon Bar-Lev <alon.bar...@gmail.com> >> wrote: >>> I need the tmp/openvpn*/config.log >>> >>> On Sat, Feb 25, 2012 at 7:12 AM, Russell Morris <open...@rkmorris.us> >>> wrote: >>>> Hi, >>>> >>>> I used the command line you provided below (actually, copied and pasted >>>> it >>>> to the command line). The one having issues is: >>>> IMAGEROOT=`pwd`/image-win64 >>>> CHOST=x86_64-w64-mingw32 CBUILD=x86_64-pc-linux-gnu ./build >>>> >>>> Thanks! >>>> >>>> ... Russell >>>> >>>> >>>> >>>> On Fri, 02/24/2012 06:11 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: >>>> >>>> How exactly did you try to build? >>>> Please send command-line. >>>> >>>> The mingw32 suffix is historic, it is kept for compatibility as old >>>> autotools(config.guess) packages expects for mingw32 as a platform, in >>>> the old days there was no (forced) standard for specifying the arch. >>>> >>>> On Sat, Feb 25, 2012 at 2:04 AM, Russell Morris >>>> <openembed...@rkmorris.us> wrote: >>>>> Hi, >>>>> >>>>> First of all - thanks for this! It's very much appreciated! >>>>> >>>>> I tried this on my Linux box, and it worked fine - for the win32 image. >>>>> However, the win64 image fails, with the following error ... >>>>> >>>>> ============================================================ >>>>> >>>>> >>>>> >>>>> /usr/lib64/gcc/x86_64-w64-mingw32/4.6.2/../../../../x86_64-w64-mingw32/bin/ld: >>>>> cannot find -llzo2 >>>>> >>>>> >>>>> /usr/lib64/gcc/x86_64-w64-mingw32/4.6.2/../../../../x86_64-w64-mingw32/bin/ld: >>>>> cannot find -lpkcs11-helper >>>>> collect2: ld returned 1 exit status >>>>> make[3]: *** [openvpn.exe] Error 1 >>>>> make[3]: Leaving directory >>>>> >>>>> >>>>> `/home/rmorris/Documents/Programming/openvpn-build/generic/tmp/openvpn-2.3-alpha1/src/openvpn' >>>>> make[2]: *** [install-recursive] Error 1 >>>>> make[2]: Leaving directory >>>>> >>>>> >>>>> `/home/rmorris/Documents/Programming/openvpn-build/generic/tmp/openvpn-2.3-alpha1/src' >>>>> make[1]: *** [install-recursive] Error 1 >>>>> make[1]: Leaving directory >>>>> >>>>> >>>>> `/home/rmorris/Documents/Programming/openvpn-build/generic/tmp/openvpn-2.3-alpha1' >>>>> make: *** [install-strip] Error 2 >>>>> FATAL: make openvpn >>>>> >>>>> ============================================================ >>>>> >>>>> Has anyone else seen this? Any thoughts how to correct it? >>>>> >>>>> Also, if you don't mind me asking - can anyone explain the naming >>>>> convention >>>>> for i686-w64-mingw32 vs. x86_64-w64-mingw32? They both seem to be >>>>> "mingw32", >>>>> so a bit confused how one is really 64 bit. >>>>> >>>>> Thanks again, >>>>> ... Russell >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, 02/21/2012 06:12 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: >>>>> >>>>> Hello people who actually use Windows! >>>>> >>>>> I will appreciate if you test my new windows build environment for >>>>> OpenVPN. >>>>> >>>>> You have many options, I guess all are needed. >>>>> >>>>> While you at it, please try to explain me why we need Visual Studio >>>>> build... >>>>> :) >>>>> . >>>>> Build is here[1] >>>>> >>>>> BEST METHOD - Compile on Linux >>>>> >>>>> This is a generic method, it can cross compile OpenVPN using any >>>>> toolchain to any environment. >>>>> For Windows, make sure you have mingw-w64 toolchain. >>>>> We are using nsis so we can also package files at Linux. >>>>> >>>>> $ cd generic >>>>> $ IMAGEROOT=`pwd`/image-win32 CHOST=i686-w64-mingw32 >>>>> CBUILD=x86_64-pc-linux-gnu ./build >>>>> $ IMAGEROOT=`pwd`/image-win64 CHOST=x86_64-w64-mingw32 >>>>> CBUILD=x86_64-pc-linux-gnu ./build >>>>> >>>>> SLOWER METHOD - Compile on cygwin >>>>> >>>>> Read README for required packages. >>>>> >>>>> $ cd generic >>>>> $ IMAGEROOT=`pwd`/image-win32 CHOST=i686-w64-mingw32 >>>>> CBUILD=i686-pc-cygwin ./build >>>>> $ IMAGEROOT=`pwd`/image-win64 CHOST=x86_64-w64-mingw32 >>>>> CBUILD=i686-pc-cygwin ./build >>>>> >>>>> Visual Studio Complete Batch >>>>> >>>>> install perl >>>>> >>>>>> cd msvc >>>>>> build >>>>> >>>>> Visual Studio IDE >>>>> >>>>> After you have the dependencies of Complete Batch or your own. >>>>> Create msvc-env-local.bat with OPENVPN_DEPROOT pointing to the >>>>> location of the dependencies. >>>>> >>>>>> msvc-dev >>>>> >>>>> MSBuild >>>>> >>>>> After you have the dependencies of Complete Batch or your own. >>>>> Create msvc-env-local.bat with OPENVPN_DEPROOT pointing to the >>>>> location of the dependencies. >>>>> >>>>>> msvc-build >>>>> >>>>> Good luck, >>>>> Alon. >>>>> >>>>> [1] https://github.com/alonbl/openvpn-build >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Virtualization & Cloud Management Using Capacity Planning >>>>> Cloud computing makes use of virtualization - but cloud computing >>>>> also focuses on allowing computing to be delivered as a service. >>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >>>>> _______________________________________________ >>>>> Openvpn-devel mailing list >>>>> Openvpn-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/openvpn-devel >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Virtualization & Cloud Management Using Capacity Planning >>>> Cloud computing makes use of virtualization - but cloud computing >>>> also focuses on allowing computing to be delivered as a service. >>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >>>> _______________________________________________ >>>> Openvpn-devel mailing list >>>> Openvpn-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/openvpn-devel