On Thursday 28 October 2010 16:04:19 Pau Marc Munoz Torres wrote:
> Hi every body
> 
>  recently i compiled a svmlight perl module two use svmlight program with
> perl
> 
> http://search.cpan.org/~kwilliams/Algorithm-SVMLight-0.09/lib/Algorithm/SVM
> Light.pm
> 
> to compile a patch is needed and as i wanted to run it under linux in a 64
> bits machine, i used the flag make " CFLAGS='-fPIC -O3' " after applaying a
> patch
> 
>  the compilation worked fine, but when ever i try to build  an object i get
> get the following error
> 
> usr/bin/perl: symbol lookup error:
> /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/auto/Algo
> rithm/SVMLight/SVMLight.so: undefined symbol: set_learning_defaults
> 
> I would appreciate is some of you could tell me what does "symbol lookup
> error" and "undefined symbol" means, by the way,  set_learning_defaults is
> deffined at the patch
> 

OK. I am unable to reproduce this problem. On the other hand I also added -
fPIC to the linker. I was able to get the module to pass its tests eventually, 
after manuevering through the various compilation and linking hoops (including 
setting LD_LIBRARY_PATH).

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Public Domain Photos - http://www.flickr.com/photos/shlomif/

<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to