Re: what is wrong with mex or mbuild



Gu,

I suspect that you have a bad install. Try reinstalling MATLAB.

The section of code at D:\MATLAB6p5/sys/perl/win32/lib/DynaLoader.pm line
169 says:

# Many dynamic extension loading problems will appear to come from
# this section of code: XYZ failed at line 123 of DynaLoader.pm.
# Often these errors are actually occurring in the initialisation
# C code of the extension XS file. Perl reports the error as being
# in this perl code simply because this was the last perl code
# it executed.

my $libref = dl_load_file($file, $module->dl_load_flags) or
croak("Can't load '$file' for module $module: ".dl_error()."\n");


There is one other potential issue. I see that the numbers
"内存分配访问无效". I
suspected that this was a UTF-8 encoding. I found that it corresponds to:
"????????"
and translates to:
"The existing distribution????"

I'm not sure if that helps at all. I'm sticking to my assessment that this
is being cause by a bad MATLAB installation.

Good luck,

Gadi






"gu " <guflei@xxxxxxx> wrote in message
news:hdb35b$jej$1@xxxxxxxxxxxxxxxxxxxxx
that my new install the matlab6.5 on windows xp sp2.
but could not worked with mex and mbuild.

mex -setup
Can't load
'D:\MATLAB6p5/sys/perl/win32/site/lib/auto/Win32/Registry/Registry.dll'
for module Win32::Registry:
load_file:&#20869;&#23384;&#20998;&#37197;&#35775;&#38382;&#26080;&#25928;
at D:\MATLAB6p5/sys/perl/win32/lib/DynaLoader.pm line 169.

at D:\MATLAB6p5/bin/win32/mexsetup.pm line 115
BEGIN failed--compilation aborted at D:\MATLAB6p5/bin/win32/mexsetup.pm
line 115.
BEGIN failed--compilation aborted at D:\MATLAB6p5\bin\win32\mex.pl line
68.
??? Error using ==> mex
Unable to complete successfully

mbuild -setup
Can't load
'D:\MATLAB6p5/sys/perl/win32/site/lib/auto/Win32/Registry/Registry.dll'
for module Win32::Registry:
load_file:&#20869;&#23384;&#20998;&#37197;&#35775;&#38382;&#26080;&#25928;
at D:\MATLAB6p5/sys/perl/win32/lib/DynaLoader.pm line 169.

at D:\MATLAB6p5/bin/win32/mexsetup.pm line 115
BEGIN failed--compilation aborted at D:\MATLAB6p5/bin/win32/mexsetup.pm
line 115.
BEGIN failed--compilation aborted at D:\MATLAB6p5\bin\win32\mex.pl line
68.
??? Error using ==> mbuild
Unable to complete successfully

anybody know how to solve it?
thanks.


.



Relevant Pages

  • Re: what is wrong with mex or mbuild
    ... I suspect that you have a bad install. ... Try reinstalling MATLAB. ... # Many dynamic extension loading problems will appear to come from ...
    (comp.soft-sys.matlab)
  • libsdl-gfx1.2 upgrade from 2.0.8-1 to 2.0.9-1
    ... Removing libsdl-gxf and reinstalling (via dpkg) the previous version solved ... libSDL_gfx.so.0: cannot open shared object file: No such file or directory ... 218 # Many dynamic extension loading problems will appear to come from ... 222 # in this perl code simply because this was the last perl code ...
    (Debian-User)
  • Re: Plotting a 2D chart
    ... To install GD::Graph u have to install ... Happy PERL!!! ... > I have a perl code which produces a string of numbers as output. ... > repositories for installing package GD. ...
    (perl.beginners)
  • Re: "undefined symbol: db_version" when installing Cyrus IMAPd (SuSE 8.1)
    ... I'm having the same problem with Cyrus IMAP on FreeBSD 5.1-RELEASE. ... # Many dynamic extension loading problems will appear to come from ... # in this perl code simply because this was the last perl code ...
    (alt.os.linux.suse)
  • Re: add module path
    ... install module C in a/b/c directory ... include a/b/my_lib in perl code ... install things properly instead of copying files and hoping to get them in the ...
    (perl.beginners)