Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with 32 Bit Julia on Windows #7

Closed
IainNZ opened this issue Jan 18, 2014 · 18 comments
Closed

Error with 32 Bit Julia on Windows #7

IainNZ opened this issue Jan 18, 2014 · 18 comments

Comments

@IainNZ
Copy link

IainNZ commented Jan 18, 2014

C:\Users\Iain\Desktop\Julia32bit>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.2.0 (2013-11-16 23:44 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org release
|__/                   |  i686-w64-mingw32

julia> using ICU
ERROR: ccall: could not find function ucol_open_44 in library C:\Users\Iain\.jul
ia\WinRPM\deps\usr\i686-w64-mingw32\sys-root\mingw\bin\icui18n51
at C:\Users\Iain\.julia\ICU\src\ICU.jl:556

I'm on Win7 64-bit

@IainNZ
Copy link
Author

IainNZ commented Jan 18, 2014

Possibly related to JuliaWeb/HttpServer.jl#19

@nolta
Copy link
Collaborator

nolta commented Jan 18, 2014

What's in C:\Users\Iain\.julia\ICU\deps\deps.jl?

And what happens if you run Pkg.build("ICU")?

@mlubin
Copy link

mlubin commented Jan 19, 2014

On my system, MikTex installs a version of icuuc49.dll but not icui18n49.dll, so BinDeps finds the former from MikTex and icui18n51.dll from WinRPM. When I uninstalled MikTex, everything runs fine.

Library search path failure...

@nolta
Copy link
Collaborator

nolta commented Jan 19, 2014

Thanks @mlubin, i've add a check for library mismatch (3a52c44).

But i don't know enough about BinDeps to fix this. Can BinDeps be told two libraries have to come from the same directory? Or to search WinRPM first?

cc @loladiro

@nolta
Copy link
Collaborator

nolta commented Jan 20, 2014

I have a crude fix for this in e0dd24f; could someone try it out?

@IainNZ
Copy link
Author

IainNZ commented Jan 20, 2014

I've only got 0.2 Julia installed so can't get it.

@IainNZ
Copy link
Author

IainNZ commented Jan 20, 2014

I just checked out master on Windows (laptop) I can run Pkg.build but it fails on using with ERROR: icui18nlib not defined

@mlubin
Copy link

mlubin commented Jan 21, 2014

What's the reason for dropping support for 0.2?

@nolta
Copy link
Collaborator

nolta commented Jan 21, 2014

@IainNZ sorry, typo. Try f9ae470.

@mlubin i'm not dropping support for 0.2.

@IainNZ
Copy link
Author

IainNZ commented Jan 21, 2014

So its working with 64-bit Julia 0.2 on 64-bit Windows, I'll try 32-bit Julia now

@IainNZ
Copy link
Author

IainNZ commented Jan 21, 2014

julia> using ICU
Warning: redefining constant iculib
ERROR: could not load module 4451: The specified module could not be found.

at C:\Users\Iain\.julia\ICU\src\ICU.jl:62

@IainNZ
Copy link
Author

IainNZ commented Jan 21, 2014

32bit Julia on Win64

@nolta
Copy link
Collaborator

nolta commented Jan 21, 2014

Sorry, a bit tired today, and making a lot of silly mistakes... try cf771a3

@IainNZ
Copy link
Author

IainNZ commented Jan 21, 2014

Works, no errors (still get the redefining warning)

@IainNZ
Copy link
Author

IainNZ commented Jan 21, 2014

(which I don't think is a big deal if you want to put it off to another day)

@nolta
Copy link
Collaborator

nolta commented Jan 21, 2014

Yeah, i'm not worried about the warning, since this is just a temporary hack.

@IainNZ
Copy link
Author

IainNZ commented Jan 24, 2014

So I think we are done here then? Is METADATA up-to-date?

@nolta
Copy link
Collaborator

nolta commented Jan 24, 2014

Yes, i've updated METADATA.

@nolta nolta closed this as completed Apr 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants