Basically, I was able to build and install this required library, and using libtool, I was able to put the library here:
/net/hu19/jxd1581/lib/libnssi_env.la
Now, I have this other project, that contains Makefile.am, Makefile.in configure.ac, configure, etc etc.
I do
./configure --prefix=$HOME, where $HOME is /net/hu19/jxd1581
However, when I run make, I get this
Code:
make[3]: Entering directory `/net/hu19/jxd1581/mware/fms/trunk/cod'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -L/net/hu19/jxd1581/lib -o libcod.la -rpath /net/hu19/jxd1581/lib cod.lo cod_node.lo cg.lo standard.lo -ldild -lm -lnssi_env -latl ./../fm/libfm.la
grep: /usr/local/lib/libnssi_env.la: No such file or directory
/bin/sed: can't read /usr/local/lib/libnssi_env.la: No such file or directory
libtool: link: `/usr/local/lib/libnssi_env.la' is not a valid libtool archive
Why is it looking for libnssi_env.la (-lnssi_env) in /usr/local/lib??
How do I change the appropriate ./configure, configure.ac etc files to look for the library in /net/hu19/jxd1581/lib
Do I change the path variable?
Thanks a lot!