Chuck Okerstrom wrote:
> First off, my compliments on this little jewel.  I've been looking for a 
> good encryption option for rysnc for quite some time and this sure looks 
> like it'll fit the bill.
>   
Thanks.
> I've tried setting an LDFLAGS environment var....
>
> $ echo $LDFLAGS
> /usr/local/lib
>   
First of all, it is important to note that the time to set the 
environment variable is when invoking configure, not when invoking 
"make". configure saves a snapshot of the environment is finds inside 
the generated make file. If you are using bash (and also, if memory 
serves me correctly, bourne shell), you can do "LDFLAGS=whatever 
./configure" to temporarily set the correct environment variables.

As for the actual problem - LDFLAGS are the command line parameters 
passed to ld. Your problem seems to be that you did not specify a full 
parameter.

There are two solutions to your problem. If you want to use argtable in 
its uninstalled state, you need to use the "--with-argtable2=path" 
configure command line option. This does not appear to be your case. In 
your case, you probably simply need to run:
LDFLAGS=-L/usr/local/lib ./configure

to solve your problem.

Depending on your setup, I suspect you may also need to specify:
CPPFLAGS=-I/usr/local/include

Otherwise the header files for argtable may also not be found.

Hope this solves your problem

> I've tried setting the configure option --libdir=/usr/local/lib
>   
That's because libdir controls where libraries generated by the current 
project are sent during 'make install', and does not affect where 
libraries needed by the current project are searched for.

Also, make sure that /etc/ld.so.conf has /usr/local/lib in it, and make 
sure that you have run ldconfig since you installed argtable. If you do 
not, rsyncrypto may not run, complaining that it cannot find the library.

Shachar

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel

Reply via email to