Laurent Kappler | 1 Apr 16:13 2010

nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

Hi,

I put the nGD.ndll in /usr/local/neko/
chmod 715

still my website output error:
Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

What could I look for?

thx
Laurent

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Philipp Klose | 1 Apr 16:18 2010
Picon

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

Put it into the folder where your *.n file is or where all the other 
*.ndll files are. (mysql.ndll, std.ndll, etc.) If this does not work you 
have some other issues with you neko installation.
Easiest way always is to use it in combination with haxe / haxelib.

Laurent Kappler wrote:
> Hi,
>
> I put the nGD.ndll in /usr/local/neko/
> chmod 715
>
> still my website output error:
> Uncaught exception - load.c(232) : Failed to load library : nGD.ndll
>
> What could I look for?
>
> thx
> Laurent
>

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Laurent Kappler | 1 Apr 16:47 2010

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

yes, I used haxelib to install hxGD. Then it could not find the ndll so 
I copy it in /usr/local/neko/ where all the std.ndll, etc are.
chmod 755 nGD.ndll

my neko installation have been working fine for a long time. What do you 
think it could be there? re-install ??

thx
Laurent

Philipp Klose a écrit :
> Put it into the folder where your *.n file is or where all the other 
> *.ndll files are. (mysql.ndll, std.ndll, etc.) If this does not work 
> you have some other issues with you neko installation.
> Easiest way always is to use it in combination with haxe / haxelib.
>
> Laurent Kappler wrote:
>> Hi,
>>
>> I put the nGD.ndll in /usr/local/neko/
>> chmod 715
>>
>> still my website output error:
>> Uncaught exception - load.c(232) : Failed to load library : nGD.ndll
>>
>> What could I look for?
>>
>> thx
>> Laurent
>>
(Continue reading)

Philipp Klose | 1 Apr 17:21 2010
Picon

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

Ok, thats kind of strange. I reinstalled it on a fresh machine and it 
works fine.
Do you have libGD installed on you machine? (on Ubuntu/Debian it is 
libgd2-xpm or something similar.) Have you tried to build it from 
sources? (http://github.com/TheHippo/hxGD)

Laurent Kappler wrote:
> yes, I used haxelib to install hxGD. Then it could not find the ndll 
> so I copy it in /usr/local/neko/ where all the std.ndll, etc are.
> chmod 755 nGD.ndll
>
> my neko installation have been working fine for a long time. What do 
> you think it could be there? re-install ??
>
> thx
> Laurent
>
> Philipp Klose a écrit :
>> Put it into the folder where your *.n file is or where all the other 
>> *.ndll files are. (mysql.ndll, std.ndll, etc.) If this does not work 
>> you have some other issues with you neko installation.
>> Easiest way always is to use it in combination with haxe / haxelib.
>>
>> Laurent Kappler wrote:
>>> Hi,
>>>
>>> I put the nGD.ndll in /usr/local/neko/
>>> chmod 715
>>>
>>> still my website output error:
(Continue reading)

Laurent Kappler | 1 Apr 17:35 2010

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

after building the ndll from source I do this:
TheHippo-hxGD-6700f22 # ls
build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx

TheHippo-hxGD-6700f22 # haxe build.hxml

TheHippo-hxGD-6700f22 # ls
build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx  test1.n

TheHippo-hxGD-6700f22 # neko text1.n
Uncaught exception - load.c(176) : Module not found : text1.n

this is how I am suppose to test it ?

thank you for the help..!
Laurent

Philipp Klose a écrit :
> Ok, thats kind of strange. I reinstalled it on a fresh machine and it 
> works fine.
> Do you have libGD installed on you machine? (on Ubuntu/Debian it is 
> libgd2-xpm or something similar.) Have you tried to build it from 
> sources? (http://github.com/TheHippo/hxGD)
>
> Laurent Kappler wrote:
>> yes, I used haxelib to install hxGD. Then it could not find the ndll 
>> so I copy it in /usr/local/neko/ where all the std.ndll, etc are.
>> chmod 755 nGD.ndll
>>
>> my neko installation have been working fine for a long time. What do 
(Continue reading)

Philipp Klose | 1 Apr 17:41 2010
Picon

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

Have you installed libGD? I don't know what kind of error message you 
get if libGD is not available.

Did you get any error during "make"? What do you get when you run "make 
clean" and "make" in this order? After building the ndll on you own you 
also need to copy it to a location where it could be loaded by neko. All 
other neko libraries are working fine?

Laurent Kappler wrote:
> after building the ndll from source I do this:
> TheHippo-hxGD-6700f22 # ls
> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx
>
> TheHippo-hxGD-6700f22 # haxe build.hxml
>
> TheHippo-hxGD-6700f22 # ls
> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx  test1.n
>
> TheHippo-hxGD-6700f22 # neko text1.n
> Uncaught exception - load.c(176) : Module not found : text1.n
>
> this is how I am suppose to test it ?
>
> thank you for the help..!
> Laurent
>
>
> Philipp Klose a écrit :
>> Ok, thats kind of strange. I reinstalled it on a fresh machine and it 
>> works fine.
(Continue reading)

Laurent Kappler | 1 Apr 17:40 2010

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

grr ok not text1 but test1.
now I get this:
Image.hx:220: Segmentation fault
Erreur de segmentation

I look in th esource, just that you don't have to reply to the 
precendente message. sorry.

Laurent Kappler a écrit :
> after building the ndll from source I do this:
> TheHippo-hxGD-6700f22 # ls
> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx
>
> TheHippo-hxGD-6700f22 # haxe build.hxml
>
> TheHippo-hxGD-6700f22 # ls
> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx  test1.n
>
> TheHippo-hxGD-6700f22 # neko text1.n
> Uncaught exception - load.c(176) : Module not found : text1.n
>
> this is how I am suppose to test it ?
>
> thank you for the help..!
> Laurent
>
>
> Philipp Klose a écrit :
>> Ok, thats kind of strange. I reinstalled it on a fresh machine and it 
>> works fine.
(Continue reading)

Laurent Kappler | 1 Apr 17:46 2010

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

ok, I copy it in my website web folder where the index.n is.

when I run neko index.n I got an html output like everything is working.
Now from http:// request I still get the load error. it's like mod_neko 
is not able to load the library?

thx
Laurent

Laurent Kappler a écrit :
> after building the ndll from source I do this:
> TheHippo-hxGD-6700f22 # ls
> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx
>
> TheHippo-hxGD-6700f22 # haxe build.hxml
>
> TheHippo-hxGD-6700f22 # ls
> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx  test1.n
>
> TheHippo-hxGD-6700f22 # neko text1.n
> Uncaught exception - load.c(176) : Module not found : text1.n
>
> this is how I am suppose to test it ?
>
> thank you for the help..!
> Laurent
>
>
> Philipp Klose a écrit :
>> Ok, thats kind of strange. I reinstalled it on a fresh machine and it 
(Continue reading)

Philipp Klose | 1 Apr 17:47 2010
Picon

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

You will get this error because of this line:

img.string("/home/hippo/imagetest/google/svn/trunk/fonts/Agency.ttf",42.0,Math.round(img.width/2),Math.round(img.height/2),"i"+i,StringAlign.CenterMiddle);

I do no think you have this font file on this location :-D

Laurent Kappler wrote:
> grr ok not text1 but test1.
> now I get this:
> Image.hx:220: Segmentation fault
> Erreur de segmentation
>
> I look in th esource, just that you don't have to reply to the 
> precendente message. sorry.
>
> Laurent Kappler a écrit :
>> after building the ndll from source I do this:
>> TheHippo-hxGD-6700f22 # ls
>> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx
>>
>> TheHippo-hxGD-6700f22 # haxe build.hxml
>>
>> TheHippo-hxGD-6700f22 # ls
>> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx  test1.n
>>
>> TheHippo-hxGD-6700f22 # neko text1.n
>> Uncaught exception - load.c(176) : Module not found : text1.n
>>
>> this is how I am suppose to test it ?
>>
(Continue reading)

Laurent Kappler | 1 Apr 18:12 2010

Re: nGD.ndll, Uncaught exception - load.c(232) : Failed to load library : nGD.ndll

ok fixed...sorry Philippe, I checked the NEKOPATH which include path to 
/usr/lib/neko and otheres but not /usr/local/neko ...dumb :)

Thank you for your time and for the hxGD ;)
I would be interested in finding some documentation about making ndll, 
if you know some.
thank you
Laurent

Philipp Klose a écrit :
> Have you installed libGD? I don't know what kind of error message you 
> get if libGD is not available.
>
> Did you get any error during "make"? What do you get when you run 
> "make clean" and "make" in this order? After building the ndll on you 
> own you also need to copy it to a location where it could be loaded by 
> neko. All other neko libraries are working fine?
>
> Laurent Kappler wrote:
>> after building the ndll from source I do this:
>> TheHippo-hxGD-6700f22 # ls
>> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx
>>
>> TheHippo-hxGD-6700f22 # haxe build.hxml
>>
>> TheHippo-hxGD-6700f22 # ls
>> build.hxml  hxGD  makefile  nGD.ndll  README  src  Test1.hx  test1.n
>>
>> TheHippo-hxGD-6700f22 # neko text1.n
>> Uncaught exception - load.c(176) : Module not found : text1.n
(Continue reading)


Gmane