Discussion:
Problem in compilation
Theodore John De Jesus
2007-04-13 03:08:20 UTC
Permalink
Hi I'm so new in ANN and stuff. could you help me with this problem: i tried
to compile the xor_train.c but error occured. Here's what I typed:


[***@localhost examples]$ gcc -O3 -lm -lfann xor_train.c -o xor_train
[***@localhost examples]$ ./xor
xor_test xor_test_fixed xor_train
[***@localhost examples]$ ./xor_train
./xor_train: error while loading shared libraries: libfann.so.2: cannot open
shared object f le: No such file or directory

*****************
I checked libfann.so.2, it's existing, located in usr/local/lib
Thank you for you time :)
Steffen Nissen
2007-04-13 19:47:10 UTC
Permalink
you need to include usr/local/lib in your library path e.g.:
export LD_LIBRARY_PATH=/usr/local/lib
Post by Theodore John De Jesus
Hi I'm so new in ANN and stuff. could you help me with this problem: i
xor_test xor_test_fixed xor_train
./xor_train: error while loading shared libraries: libfann.so.2: cannot
open shared object f le: No such file or directory
*****************
I checked libfann.so.2, it's existing, located in usr/local/lib
Thank you for you time :)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
--
Steffen Nissen - http://MySpace.com/SteffenNissen
Project Administrator - Fast Artificial Neural Network Library (FANN)
http://leenissen.dk/fann/
Continue reading on narkive:
Loading...